@squonk/data-manager-client 4.3.0 → 5.0.0-5-0.2173777171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accounting/accounting.cjs +55 -10
- package/accounting/accounting.cjs.map +1 -1
- package/accounting/accounting.d.cts +58 -1
- package/accounting/accounting.d.ts +58 -1
- package/accounting/accounting.js +46 -1
- package/accounting/accounting.js.map +1 -1
- package/admin/admin.cjs +15 -15
- package/admin/admin.cjs.map +1 -1
- package/admin/admin.d.cts +2 -0
- package/admin/admin.d.ts +2 -0
- package/admin/admin.js +1 -1
- package/admin/admin.js.map +1 -1
- package/application/application.cjs +5 -5
- package/application/application.cjs.map +1 -1
- package/application/application.js +1 -1
- package/application/application.js.map +1 -1
- package/{chunk-OYRETEBZ.js → chunk-76ADQBHZ.js} +3 -3
- package/chunk-76ADQBHZ.js.map +1 -0
- package/{chunk-ZLY5XEOQ.cjs → chunk-KHB5TJT7.cjs} +3 -3
- package/chunk-KHB5TJT7.cjs.map +1 -0
- package/chunk-RB2KVIEK.cjs.map +1 -1
- package/configuration/configuration.cjs +5 -5
- package/configuration/configuration.cjs.map +1 -1
- package/configuration/configuration.d.cts +1 -1
- package/configuration/configuration.d.ts +1 -1
- package/configuration/configuration.js +1 -1
- package/configuration/configuration.js.map +1 -1
- package/dataset/dataset.cjs +14 -14
- package/dataset/dataset.cjs.map +1 -1
- package/dataset/dataset.js +1 -1
- package/dataset/dataset.js.map +1 -1
- package/digest/digest.cjs +3 -3
- package/digest/digest.cjs.map +1 -1
- package/digest/digest.js +1 -1
- package/digest/digest.js.map +1 -1
- package/file-and-path/file-and-path.cjs +139 -17
- package/file-and-path/file-and-path.cjs.map +1 -1
- package/file-and-path/file-and-path.d.cts +162 -2
- package/file-and-path/file-and-path.d.ts +162 -2
- package/file-and-path/file-and-path.js +123 -1
- package/file-and-path/file-and-path.js.map +1 -1
- package/index.cjs +4 -2
- package/index.cjs.map +1 -1
- package/index.d.cts +53 -37
- package/index.d.ts +53 -37
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/instance/instance.cjs +10 -10
- package/instance/instance.cjs.map +1 -1
- package/instance/instance.js +1 -1
- package/instance/instance.js.map +1 -1
- package/inventory/inventory.cjs +3 -3
- package/inventory/inventory.cjs.map +1 -1
- package/inventory/inventory.js +1 -1
- package/inventory/inventory.js.map +1 -1
- package/job/job.cjs +124 -8
- package/job/job.cjs.map +1 -1
- package/job/job.d.cts +159 -3
- package/job/job.d.ts +159 -3
- package/job/job.js +119 -3
- package/job/job.js.map +1 -1
- package/metadata/metadata.cjs +7 -7
- package/metadata/metadata.cjs.map +1 -1
- package/metadata/metadata.js +1 -1
- package/metadata/metadata.js.map +1 -1
- package/package.json +1 -1
- package/project/project.cjs +15 -137
- package/project/project.cjs.map +1 -1
- package/project/project.d.cts +3 -163
- package/project/project.d.ts +3 -163
- package/project/project.js +1 -123
- package/project/project.js.map +1 -1
- package/src/{data-manager-api.schemas.ts → API_TARGET_NAME.schemas.ts} +52 -43
- package/src/accounting/accounting.ts +244 -2
- package/src/admin/admin.ts +4 -2
- package/src/application/application.ts +2 -2
- package/src/configuration/configuration.ts +5 -9
- package/src/dataset/dataset.ts +2 -2
- package/src/digest/digest.ts +2 -2
- package/src/file-and-path/file-and-path.ts +602 -2
- package/src/index.ts +2 -2
- package/src/instance/instance.ts +2 -2
- package/src/inventory/inventory.ts +2 -2
- package/src/job/job.ts +599 -3
- package/src/metadata/metadata.ts +2 -2
- package/src/options-mutator.ts +2 -2
- package/src/project/project.ts +5 -604
- package/src/task/task.ts +2 -2
- package/src/type/type.ts +2 -2
- package/src/user/user.ts +2 -2
- package/src/workflow/workflow.ts +5 -3
- package/task/task.cjs +6 -6
- package/task/task.cjs.map +1 -1
- package/task/task.js +1 -1
- package/task/task.js.map +1 -1
- package/type/type.cjs +3 -3
- package/type/type.cjs.map +1 -1
- package/type/type.js +1 -1
- package/type/type.js.map +1 -1
- package/user/user.cjs +10 -10
- package/user/user.cjs.map +1 -1
- package/user/user.js +1 -1
- package/user/user.js.map +1 -1
- package/workflow/workflow.cjs +20 -20
- package/workflow/workflow.cjs.map +1 -1
- package/workflow/workflow.d.cts +3 -1
- package/workflow/workflow.d.ts +3 -1
- package/workflow/workflow.js +1 -1
- package/workflow/workflow.js.map +1 -1
- package/chunk-OYRETEBZ.js.map +0 -1
- package/chunk-ZLY5XEOQ.cjs.map +0 -1
- package/exchange-rate/exchange-rate.cjs +0 -255
- package/exchange-rate/exchange-rate.cjs.map +0 -1
- package/exchange-rate/exchange-rate.d.cts +0 -319
- package/exchange-rate/exchange-rate.d.ts +0 -319
- package/exchange-rate/exchange-rate.js +0 -255
- package/exchange-rate/exchange-rate.js.map +0 -1
- package/exchange-rate/package.json +0 -7
- package/src/exchange-rate/exchange-rate.ts +0 -1276
package/project/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/project/project.ts"],"sourcesContent":["/**\n * Generated by orval v7.10.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.\n\n * OpenAPI spec version: 4.1\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n DmError,\n GetProjectFileParams,\n GetProjectFileWithTokenParams,\n GetProjectsParams,\n ProjectDetail,\n ProjectFilePutBodyBody,\n ProjectPatchBodyBody,\n ProjectPostBodyBody,\n ProjectPostResponse,\n ProjectsGetResponse,\n TaskIdentity,\n} from \"../data-manager-api.schemas\";\n\nimport { customInstance } from \".././custom-instance\";\nimport type { ErrorType } from \".././custom-instance\";\nimport { queryMutator } from \".././options-mutator\";\nimport { mutationMutator } from \".././options-mutator\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * @summary Get all Projects available to you\n */\nexport const getProjects = (\n params?: GetProjectsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ProjectsGetResponse>(\n { url: `/project`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetProjectsQueryKey = (params?: GetProjectsParams) => {\n return [`/project`, ...(params ? [params] : [])] as const;\n};\n\nexport const useGetProjectsQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjects>>> = ({ signal }) =>\n getProjects(params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectsQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;\nexport type GetProjectsQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params: undefined | GetProjectsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n Awaited<ReturnType<typeof getProjects>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n Awaited<ReturnType<typeof getProjects>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get all Projects available to you\n */\n\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjects>>> = ({ signal }) =>\n getProjects(params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;\nexport type GetProjectsSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params: undefined | GetProjectsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get all Projects available to you\n */\n\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Creates a new Project, assigning and returning a unique **ID**. A persistent volume is created in the cluster and assigned to your Project. It's here you can add **Datasets** as **Files** and run **Applications** and **Jobs**.\n\nTo create a Project when an **Account Server** is configured you will need a **Product**.\n\nAs the Project creator you are also automatically an `administrator` of the Project and can add other users so that they can also see or manipulate data in the Project.\n\nThe name you give the Project is free-form text (can contain spaces etc.) but the name you use must be unique amongst all the Projects within the same Organisational Unit.\n\n * @summary Create a new Project\n */\nexport const createProject = (\n projectPostBodyBody: ProjectPostBodyBody,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`name`, projectPostBodyBody.name);\n if (projectPostBodyBody.private !== undefined) {\n formUrlEncoded.append(`private`, projectPostBodyBody.private.toString());\n }\n formUrlEncoded.append(`tier_product_id`, projectPostBodyBody.tier_product_id);\n\n return customInstance<ProjectPostResponse>(\n {\n url: `/project`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n data: formUrlEncoded,\n signal,\n },\n options,\n );\n};\n\nexport const useCreateProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n> => {\n const mutationKey = [\"createProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createProject>>,\n { data: ProjectPostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return createProject(data, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type CreateProjectMutationResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;\nexport type CreateProjectMutationBody = ProjectPostBodyBody;\nexport type CreateProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Create a new Project\n */\nexport const useCreateProject = <TError = ErrorType<DmError | void>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n> => {\n const mutationOptions = useCreateProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets the details of a Project that is available to you.\n\n * @summary Get a Project\n */\nexport const getProject = (\n projectId: string,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ProjectDetail>(\n { url: `/project/${projectId}`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetProjectQueryKey = (projectId: string) => {\n return [`/project/${projectId}`] as const;\n};\n\nexport const useGetProjectQueryOptions = <\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectQueryKey(projectId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>\n getProject(projectId, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n};\n\nexport type GetProjectQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;\nexport type GetProjectQueryError = ErrorType<void | DmError>;\n\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n Awaited<ReturnType<typeof getProject>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n Awaited<ReturnType<typeof getProject>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get a Project\n */\n\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectQueryOptions(projectId, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectQueryKey(projectId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>\n getProject(projectId, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;\nexport type GetProjectSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get a Project\n */\n\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectSuspenseQueryOptions(projectId, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Used to update some adjustable parameters of a Project, i.e. to make it `private` or make it `public``. What can be adjusted will depend on the purchased **Product**\n\n * @summary Adjust an existing Project\n */\nexport const patchProject = (\n projectId: string,\n projectPatchBodyBody: ProjectPatchBodyBody,\n options?: SecondParameter<typeof customInstance>,\n) => {\n const formUrlEncoded = new URLSearchParams();\n if (projectPatchBodyBody.private !== undefined) {\n formUrlEncoded.append(`private`, projectPatchBodyBody.private.toString());\n }\n if (projectPatchBodyBody.name !== undefined) {\n formUrlEncoded.append(`name`, projectPatchBodyBody.name);\n }\n\n return customInstance<void>(\n {\n url: `/project/${projectId}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n data: formUrlEncoded,\n },\n options,\n );\n};\n\nexport const usePatchProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n> => {\n const mutationKey = [\"patchProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof patchProject>>,\n { projectId: string; data: ProjectPatchBodyBody }\n > = (props) => {\n const { projectId, data } = props ?? {};\n\n return patchProject(projectId, data, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type PatchProjectMutationResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;\nexport type PatchProjectMutationBody = ProjectPatchBodyBody;\nexport type PatchProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Adjust an existing Project\n */\nexport const usePatchProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n> => {\n const mutationOptions = usePatchProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes an existing Project.\n\nYou must be an `administrator` of the project.\n\nOnce deleted all **Files**, working directories and material in the Project will also be removed\n\n * @summary Delete a Project\n */\nexport const deleteProject = (\n projectId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<TaskIdentity>({ url: `/project/${projectId}`, method: \"DELETE\" }, options);\n};\n\nexport const useDeleteProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n> => {\n const mutationKey = [\"deleteProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteProject>>,\n { projectId: string }\n > = (props) => {\n const { projectId } = props ?? {};\n\n return deleteProject(projectId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type DeleteProjectMutationResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;\n\nexport type DeleteProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete a Project\n */\nexport const useDeleteProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n> => {\n const mutationOptions = useDeleteProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a Project as an `administrator`. As well as the ability to edit the project administrators can add and remove other users.\n\nYou must be an `administrator` of the project\n\n * @summary Add a Project Administrator\n */\nexport const addAdministratorToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/administrator/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddAdministratorToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addAdministratorToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addAdministratorToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddAdministratorToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addAdministratorToProject>>\n>;\n\nexport type AddAdministratorToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Administrator\n */\nexport const useAddAdministratorToProject = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddAdministratorToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `administrator`. The administrator can be you.\n\nA project must always have one `administrator` so you will not be able to delete the last administrator of a project.\n\nYou must be an `administrator` of the project\n\n * @summary Delete a Project Administrator\n */\nexport const removeAdministratorFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/administrator/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveAdministratorFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeAdministratorFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeAdministratorFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveAdministratorFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>\n>;\n\nexport type RemoveAdministratorFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Administrator\n */\nexport const useRemoveAdministratorFromProject = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveAdministratorFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.\n\nAn `editor` of a project is not automatically an `editor` of any datasets the project contains.\n\nYou must be an `administrator` of the project\n\n * @summary Add a Project Editor\n */\nexport const addEditorToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/editor/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddEditorToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addEditorToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addEditorToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addEditorToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddEditorToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addEditorToProject>>\n>;\n\nexport type AddEditorToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Editor\n */\nexport const useAddEditorToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddEditorToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `editor`. The editor can be you.\n\nA project must always have one `editor` so you will not be able to delete the last editor of a project.\n\nYou must be an `administrator` of the project\n\n * @summary Delete a Project Editor\n */\nexport const removeEditorFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/editor/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveEditorFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeEditorFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeEditorFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveEditorFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeEditorFromProject>>\n>;\n\nexport type RemoveEditorFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Editor\n */\nexport const useRemoveEditorFromProject = <TError = ErrorType<DmError | void>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveEditorFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a project as an `observer`. Observers can view Projects and download files but they cannot modify Project data or run **Applications** or **Jobs**.\n\nYou must be an `administrator` of the Project to add Observers\n\n * @summary Add a Project Observer\n */\nexport const addObserverToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/observer/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddObserverToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addObserverToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addObserverToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addObserverToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddObserverToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addObserverToProject>>\n>;\n\nexport type AddObserverToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Observer\n */\nexport const useAddObserverToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddObserverToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `observer`.\n\nYou must be an `administrator` of the Project to remove Observers\n\n * @summary Delete a Project Observer\n */\nexport const removeObserverFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/observer/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveObserverFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeObserverFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeObserverFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveObserverFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeObserverFromProject>>\n>;\n\nexport type RemoveObserverFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Observer\n */\nexport const useRemoveObserverFromProject = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveObserverFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nYou must be an `editor` of the Project if the Project is `private`\n\n * @summary Download a Project file\n */\nexport const getProjectFile = (\n projectId: string,\n params: GetProjectFileParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/file`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetProjectFileQueryKey = (projectId: string, params: GetProjectFileParams) => {\n return [`/project/${projectId}/file`, ...(params ? [params] : [])] as const;\n};\n\nexport const useGetProjectFileQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectFileQueryResult = NonNullable<Awaited<ReturnType<typeof getProjectFile>>>;\nexport type GetProjectFileQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectFileQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectFileSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectFileSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFile>>\n>;\nexport type GetProjectFileSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectFileSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.\n\nYou must be an `editor` of the project\n\n * @summary Upload a file into a Project\n */\nexport const addFileToProject = (\n projectId: string,\n projectFilePutBodyBody: ProjectFilePutBodyBody,\n options?: SecondParameter<typeof customInstance>,\n) => {\n const formData = new FormData();\n formData.append(`file`, projectFilePutBodyBody.file);\n if (projectFilePutBodyBody.as_filename !== undefined) {\n formData.append(`as_filename`, projectFilePutBodyBody.as_filename);\n }\n if (projectFilePutBodyBody.path !== undefined) {\n formData.append(`path`, projectFilePutBodyBody.path);\n }\n\n return customInstance<void>(\n {\n url: `/project/${projectId}/file`,\n method: \"PUT\",\n headers: { \"Content-Type\": \"multipart/form-data\" },\n data: formData,\n },\n options,\n );\n};\n\nexport const useAddFileToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationKey = [\"addFileToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addFileToProject>>,\n { projectId: string; data: ProjectFilePutBodyBody }\n > = (props) => {\n const { projectId, data } = props ?? {};\n\n return addFileToProject(projectId, data, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddFileToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addFileToProject>>\n>;\nexport type AddFileToProjectMutationBody = ProjectFilePutBodyBody;\nexport type AddFileToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Upload a file into a Project\n */\nexport const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationOptions = useAddFileToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nAs there is no authentication for this endpoint you must provide a valid token. The token must be a token valid for the project, usually generated when an **Instance** has been launched in the Project.\n\n * @summary Download a Project file using a Token\n */\nexport const getProjectFileWithToken = (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/file-with-token`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetProjectFileWithTokenQueryKey = (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n) => {\n return [`/project/${projectId}/file-with-token`, ...(params ? [params] : [])] as const;\n};\n\nexport const useGetProjectFileWithTokenQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectFileWithTokenQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectFileWithTokenQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectFileWithTokenSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectFileWithTokenSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenSuspenseQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectFileWithTokenSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;AAUA,SAAS,aAAa,UAAU,wBAAwB;AA0CjD,IAAM,cAAc,CACzB,QACA,SACA,WACG;AACH,SAAO;AAAA,IACL,EAAE,KAAK,YAAY,QAAQ,OAAO,QAAQ,OAAO;AAAA,IACjD;AAAA,EACF;AACF;AAEO,IAAM,yBAAyB,CAAC,WAA+B;AACpE,SAAO,CAAC,YAAY,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC,CAAE;AACjD;AAEO,IAAM,6BAA6B,CAIxC,QACA,YAIG;AACH,QAAM,EAAE,OAAO,cAAc,SAAS,eAAe,IAAI,WAAW,CAAC;AAErE,QAAM,WAAW,cAAc,YAAY,uBAAuB,MAAM;AAExE,QAAM,UAAkE,CAAC,EAAE,OAAO,MAChF,YAAY,QAAQ,gBAAgB,MAAM;AAE5C,QAAM,gBAAgB,aAAa,EAAE,GAAG,cAAc,UAAU,QAAQ,CAAC;AAEzE,SAAO;AAKT;AA0DO,SAAS,eAId,QACA,SAIA,aACgF;AAChF,QAAM,eAAe,2BAA2B,QAAQ,OAAO;AAE/D,QAAM,QAAQ,SAAS,cAAc,WAAW;AAIhD,QAAM,WAAW,aAAa;AAE9B,SAAO;AACT;AAEO,IAAM,qCAAqC,CAIhD,QACA,YAMG;AACH,QAAM,EAAE,OAAO,cAAc,SAAS,eAAe,IAAI,WAAW,CAAC;AAErE,QAAM,WAAW,cAAc,YAAY,uBAAuB,MAAM;AAExE,QAAM,UAAkE,CAAC,EAAE,OAAO,MAChF,YAAY,QAAQ,gBAAgB,MAAM;AAE5C,QAAM,gBAAgB,aAAa,EAAE,GAAG,cAAc,UAAU,QAAQ,CAAC;AAEzE,SAA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;AAEO,IAAM,qCAAqC,CAChD,WACA,WACG;AACH,SAAO,CAAC,YAAY,SAAS,oBAAoB,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC,CAAE;AAC9E;AAEO,IAAM,yCAAyC,CAIpD,WACA,QACA,YAMG;AACH,QAAM,EAAE,OAAO,cAAc,SAAS,eAAe,IAAI,WAAW,CAAC;AAErE,QAAM,WAAW,cAAc,YAAY,mCAAmC,WAAW,MAAM;AAE/F,QAAM,UAA8E,CAAC;AAAA,IACnF;AAAA,EACF,MAAM,wBAAwB,WAAW,QAAQ,gBAAgB,MAAM;AAEvE,QAAM,gBAAgB,aAAa,EAAE,GAAG,cAAc,UAAU,QAAQ,CAAC;AAEzE,SAAO;AAKT;AAqEO,SAAS,2BAId,WACA,QACA,SAMA,aACgF;AAChF,QAAM,eAAe,uCAAuC,WAAW,QAAQ,OAAO;AAEtF,QAAM,QAAQ,SAAS,cAAc,WAAW;AAIhD,QAAM,WAAW,aAAa;AAE9B,SAAO;AACT;AAEO,IAAM,iDAAiD,CAI5D,WACA,QACA,YAMG;AACH,QAAM,EAAE,OAAO,cAAc,SAAS,eAAe,IAAI,WAAW,CAAC;AAErE,QAAM,WAAW,cAAc,YAAY,mCAAmC,WAAW,MAAM;AAE/F,QAAM,UAA8E,CAAC;AAAA,IACnF;AAAA,EACF,MAAM,wBAAwB,WAAW,QAAQ,gBAAgB,MAAM;AAEvE,QAAM,gBAAgB,aAAa,EAAE,GAAG,cAAc,UAAU,QAAQ,CAAC;AAEzE,SAAO;AAKT;AAqDO,SAAS,mCAId,WACA,QACA,SAMA,aACwF;AACxF,QAAM,eAAe,+CAA+C,WAAW,QAAQ,OAAO;AAE9F,QAAM,QAAQ,iBAAiB,cAAc,WAAW;AAKxD,QAAM,WAAW,aAAa;AAE9B,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/project/project.ts"],"sourcesContent":["/**\n * Generated by orval v7.10.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.\n\n * OpenAPI spec version: 5.0\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n DmError,\n GetProjectsParams,\n ProjectDetail,\n ProjectPatchBodyBody,\n ProjectPostBodyBody,\n ProjectPostResponse,\n ProjectsGetResponse,\n TaskIdentity,\n} from \"../API_TARGET_NAME.schemas\";\n\nimport { customInstance } from \".././custom-instance\";\nimport type { ErrorType } from \".././custom-instance\";\nimport { queryMutator } from \".././options-mutator\";\nimport { mutationMutator } from \".././options-mutator\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * @summary Get all Projects available to you\n */\nexport const getProjects = (\n params?: GetProjectsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ProjectsGetResponse>(\n { url: `/project`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetProjectsQueryKey = (params?: GetProjectsParams) => {\n return [`/project`, ...(params ? [params] : [])] as const;\n};\n\nexport const useGetProjectsQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjects>>> = ({ signal }) =>\n getProjects(params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectsQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;\nexport type GetProjectsQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params: undefined | GetProjectsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n Awaited<ReturnType<typeof getProjects>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n Awaited<ReturnType<typeof getProjects>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get all Projects available to you\n */\n\nexport function useGetProjects<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjects>>> = ({ signal }) =>\n getProjects(params, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjects>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;\nexport type GetProjectsSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params: undefined | GetProjectsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get all Projects available to you\n */\n\nexport function useGetProjectsSuspense<\n TData = Awaited<ReturnType<typeof getProjects>>,\n TError = ErrorType<void | DmError>,\n>(\n params?: GetProjectsParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjects>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Creates a new Project, assigning and returning a unique **ID**. A persistent volume is created in the cluster and assigned to your Project. It's here you can add **Datasets** as **Files** and run **Applications** and **Jobs**.\n\nTo create a Project when an **Account Server** is configured you will need a **Product**.\n\nAs the Project creator you are also automatically an `administrator` of the Project and can add other users so that they can also see or manipulate data in the Project.\n\nThe name you give the Project is free-form text (can contain spaces etc.) but the name you use must be unique amongst all the Projects within the same Organisational Unit.\n\n * @summary Create a new Project\n */\nexport const createProject = (\n projectPostBodyBody: ProjectPostBodyBody,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`name`, projectPostBodyBody.name);\n if (projectPostBodyBody.private !== undefined) {\n formUrlEncoded.append(`private`, projectPostBodyBody.private.toString());\n }\n formUrlEncoded.append(`tier_product_id`, projectPostBodyBody.tier_product_id);\n\n return customInstance<ProjectPostResponse>(\n {\n url: `/project`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n data: formUrlEncoded,\n signal,\n },\n options,\n );\n};\n\nexport const useCreateProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n> => {\n const mutationKey = [\"createProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createProject>>,\n { data: ProjectPostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return createProject(data, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type CreateProjectMutationResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;\nexport type CreateProjectMutationBody = ProjectPostBodyBody;\nexport type CreateProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Create a new Project\n */\nexport const useCreateProject = <TError = ErrorType<DmError | void>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof createProject>>,\n TError,\n { data: ProjectPostBodyBody },\n TContext\n> => {\n const mutationOptions = useCreateProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets the details of a Project that is available to you.\n\n * @summary Get a Project (by UUID)\n */\nexport const getProject = (\n projectId: string,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ProjectDetail>(\n { url: `/project/${projectId}`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetProjectQueryKey = (projectId: string) => {\n return [`/project/${projectId}`] as const;\n};\n\nexport const useGetProjectQueryOptions = <\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectQueryKey(projectId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>\n getProject(projectId, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n};\n\nexport type GetProjectQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;\nexport type GetProjectQueryError = ErrorType<void | DmError>;\n\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n Awaited<ReturnType<typeof getProject>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n Awaited<ReturnType<typeof getProject>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get a Project (by UUID)\n */\n\nexport function useGetProject<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectQueryOptions(projectId, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\nexport const useGetProjectSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectQueryKey(projectId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>\n getProject(projectId, requestOptions, signal);\n\n const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });\n\n return customOptions as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProject>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetProjectSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;\nexport type GetProjectSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Get a Project (by UUID)\n */\n\nexport function useGetProjectSuspense<\n TData = Awaited<ReturnType<typeof getProject>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = useGetProjectSuspenseQueryOptions(projectId, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Used to update some adjustable parameters of a Project, i.e. to make it `private` or make it `public``. What can be adjusted will depend on the purchased **Product**\n\n * @summary Adjust an existing Project\n */\nexport const patchProject = (\n projectId: string,\n projectPatchBodyBody: ProjectPatchBodyBody,\n options?: SecondParameter<typeof customInstance>,\n) => {\n const formUrlEncoded = new URLSearchParams();\n if (projectPatchBodyBody.private !== undefined) {\n formUrlEncoded.append(`private`, projectPatchBodyBody.private.toString());\n }\n if (projectPatchBodyBody.name !== undefined) {\n formUrlEncoded.append(`name`, projectPatchBodyBody.name);\n }\n\n return customInstance<void>(\n {\n url: `/project/${projectId}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n data: formUrlEncoded,\n },\n options,\n );\n};\n\nexport const usePatchProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n> => {\n const mutationKey = [\"patchProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof patchProject>>,\n { projectId: string; data: ProjectPatchBodyBody }\n > = (props) => {\n const { projectId, data } = props ?? {};\n\n return patchProject(projectId, data, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type PatchProjectMutationResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;\nexport type PatchProjectMutationBody = ProjectPatchBodyBody;\nexport type PatchProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Adjust an existing Project\n */\nexport const usePatchProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof patchProject>>,\n TError,\n { projectId: string; data: ProjectPatchBodyBody },\n TContext\n> => {\n const mutationOptions = usePatchProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes an existing Project.\n\nYou must be an `administrator` of the project.\n\nOnce deleted all **Files**, working directories and material in the Project will also be removed\n\n * @summary Delete a Project\n */\nexport const deleteProject = (\n projectId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<TaskIdentity>({ url: `/project/${projectId}`, method: \"DELETE\" }, options);\n};\n\nexport const useDeleteProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n> => {\n const mutationKey = [\"deleteProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteProject>>,\n { projectId: string }\n > = (props) => {\n const { projectId } = props ?? {};\n\n return deleteProject(projectId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type DeleteProjectMutationResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;\n\nexport type DeleteProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete a Project\n */\nexport const useDeleteProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteProject>>,\n TError,\n { projectId: string },\n TContext\n> => {\n const mutationOptions = useDeleteProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a Project as an `administrator`. As well as the ability to edit the project administrators can add and remove other users.\n\nYou must be an `administrator` of the project\n\n * @summary Add a Project Administrator\n */\nexport const addAdministratorToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/administrator/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddAdministratorToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addAdministratorToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addAdministratorToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddAdministratorToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addAdministratorToProject>>\n>;\n\nexport type AddAdministratorToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Administrator\n */\nexport const useAddAdministratorToProject = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addAdministratorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddAdministratorToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `administrator`. The administrator can be you.\n\nA project must always have one `administrator` so you will not be able to delete the last administrator of a project.\n\nYou must be an `administrator` of the project\n\n * @summary Delete a Project Administrator\n */\nexport const removeAdministratorFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/administrator/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveAdministratorFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeAdministratorFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeAdministratorFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveAdministratorFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>\n>;\n\nexport type RemoveAdministratorFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Administrator\n */\nexport const useRemoveAdministratorFromProject = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeAdministratorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveAdministratorFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.\n\nAn `editor` of a project is not automatically an `editor` of any datasets the project contains.\n\nYou must be an `administrator` of the project\n\n * @summary Add a Project Editor\n */\nexport const addEditorToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/editor/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddEditorToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addEditorToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addEditorToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addEditorToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddEditorToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addEditorToProject>>\n>;\n\nexport type AddEditorToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Editor\n */\nexport const useAddEditorToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addEditorToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddEditorToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `editor`. The editor can be you.\n\nA project must always have one `editor` so you will not be able to delete the last editor of a project.\n\nYou must be an `administrator` of the project\n\n * @summary Delete a Project Editor\n */\nexport const removeEditorFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/editor/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveEditorFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeEditorFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeEditorFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveEditorFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeEditorFromProject>>\n>;\n\nexport type RemoveEditorFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Editor\n */\nexport const useRemoveEditorFromProject = <TError = ErrorType<DmError | void>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeEditorFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveEditorFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Adds a user to a project as an `observer`. Observers can view Projects and download files but they cannot modify Project data or run **Applications** or **Jobs**.\n\nYou must be an `administrator` of the Project to add Observers\n\n * @summary Add a Project Observer\n */\nexport const addObserverToProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/observer/${userId}`, method: \"PUT\" },\n options,\n );\n};\n\nexport const useAddObserverToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"addObserverToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addObserverToProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return addObserverToProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type AddObserverToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addObserverToProject>>\n>;\n\nexport type AddObserverToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Add a Project Observer\n */\nexport const useAddObserverToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addObserverToProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useAddObserverToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a project `observer`.\n\nYou must be an `administrator` of the Project to remove Observers\n\n * @summary Delete a Project Observer\n */\nexport const removeObserverFromProject = (\n projectId: string,\n userId: string,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>(\n { url: `/project/${projectId}/observer/${userId}`, method: \"DELETE\" },\n options,\n );\n};\n\nexport const useRemoveObserverFromProjectMutationOptions = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationKey = [\"removeObserverFromProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n { projectId: string; userId: string }\n > = (props) => {\n const { projectId, userId } = props ?? {};\n\n return removeObserverFromProject(projectId, userId, requestOptions);\n };\n\n const customOptions = mutationMutator({ ...mutationOptions, mutationFn });\n\n return customOptions;\n};\n\nexport type RemoveObserverFromProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof removeObserverFromProject>>\n>;\n\nexport type RemoveObserverFromProjectMutationError = ErrorType<DmError | void>;\n\n/**\n * @summary Delete a Project Observer\n */\nexport const useRemoveObserverFromProject = <\n TError = ErrorType<DmError | void>,\n TContext = unknown,\n>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof removeObserverFromProject>>,\n TError,\n { projectId: string; userId: string },\n TContext\n> => {\n const mutationOptions = useRemoveObserverFromProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n"],"mappings":";;;;;;;;;AAUA,SAAS,aAAa,UAAU,wBAAwB;AAuCjD,IAAM,cAAc,CACzB,QACA,SACA,WACG;AACH,SAAO;AAAA,IACL,EAAE,KAAK,YAAY,QAAQ,OAAO,QAAQ,OAAO;AAAA,IACjD;AAAA,EACF;AACF;AAEO,IAAM,yBAAyB,CAAC,WAA+B;AACpE,SAAO,CAAC,YAAY,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC,CAAE;AACjD;AAEO,IAAM,6BAA6B,CAIxC,QACA,YAIG;AACH,QAAM,EAAE,OAAO,cAAc,SAAS,eAAe,IAAI,WAAW,CAAC;AAErE,QAAM,WAAW,cAAc,YAAY,uBAAuB,MAAM;AAExE,QAAM,UAAkE,CAAC,EAAE,OAAO,MAChF,YAAY,QAAQ,gBAAgB,MAAM;AAE5C,QAAM,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iB,SAAS,eAAe,IAAI,UAC3D,QAAQ,YAAY,iBAAiB,QAAQ,YAAY,QAAQ,SAAS,cACxE,UACA,EAAE,GAAG,SAAS,UAAU,EAAE,GAAG,QAAQ,UAAU,YAAY,EAAE,IAC/D,EAAE,UAAU,EAAE,YAAY,GAAG,SAAS,OAAU;AAEpD,QAAM,aAGF,CAAC,UAAU;AACb,UAAM,EAAE,WAAW,OAAO,IAAI,SAAS,CAAC;AAExC,WAAO,0BAA0B,WAAW,QAAQ,cAAc;AAAA,EACpE;AAEA,QAAM,gBAAgB,gBAAgB,EAAE,GAAG,iBAAiB,WAAW,CAAC;AAExE,SAAO;AACT;AAWO,IAAM,+BAA+B,CAI1C,SASA,gBAMG;AACH,QAAM,kBAAkB,4CAA4C,OAAO;AAE3E,SAAO,YAAY,iBAAiB,WAAW;AACjD;","names":[]}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
8
8
|
|
|
9
|
-
* OpenAPI spec version:
|
|
9
|
+
* OpenAPI spec version: 5.0
|
|
10
10
|
*/
|
|
11
11
|
export interface DmError {
|
|
12
12
|
/** Brief error text that can be presented to the user
|
|
@@ -84,13 +84,20 @@ export interface AdminUsersGetResponse {
|
|
|
84
84
|
users: UserDetail[];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* The unit being charged. PxGi is application processor count x Memory (GiB).
|
|
89
|
+
Only required if the cost if non-zero.
|
|
90
|
+
*/
|
|
91
|
+
export type ApplicationGetResponseCostUnit =
|
|
92
|
+
(typeof ApplicationGetResponseCostUnit)[keyof typeof ApplicationGetResponseCostUnit];
|
|
93
|
+
|
|
94
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
95
|
+
export const ApplicationGetResponseCostUnit = { PxGi: "PxGi" } as const;
|
|
96
|
+
|
|
87
97
|
export interface ApplicationGetResponse {
|
|
88
98
|
/** The Application's unique ID
|
|
89
99
|
*/
|
|
90
100
|
id: string;
|
|
91
|
-
/** The Application COST exchange rate
|
|
92
|
-
*/
|
|
93
|
-
exchange_rate: string;
|
|
94
101
|
/** The application specification template. Used when creating application instances
|
|
95
102
|
*/
|
|
96
103
|
template: string;
|
|
@@ -107,6 +114,16 @@ export interface ApplicationGetResponse {
|
|
|
107
114
|
*/
|
|
108
115
|
versions: string[];
|
|
109
116
|
image_variants?: ApplicationImageVariants;
|
|
117
|
+
/** A string representation of the deciaml cost (in coins) of the application. Charged per cost-unit and period. */
|
|
118
|
+
cost: string;
|
|
119
|
+
/** The unit being charged. PxGi is application processor count x Memory (GiB).
|
|
120
|
+
Only required if the cost if non-zero. */
|
|
121
|
+
cost_unit?: ApplicationGetResponseCostUnit;
|
|
122
|
+
/** Humanised expresssion of cost period, e.g. "1 hour"
|
|
123
|
+
Only required if the cost if non-zero. */
|
|
124
|
+
cost_period?: string;
|
|
125
|
+
/** True if costs are charged 'pro rata' Only required if the cost if non-zero. */
|
|
126
|
+
cost_pro_rata?: boolean;
|
|
110
127
|
}
|
|
111
128
|
|
|
112
129
|
export interface ApplicationsGetResponse {
|
|
@@ -279,14 +296,10 @@ export interface FilesGetResponse {
|
|
|
279
296
|
paths: string[];
|
|
280
297
|
}
|
|
281
298
|
|
|
282
|
-
export type GetAllExchangeRatesResponseExchangeRatesItem =
|
|
283
|
-
| ApplicationExchangeRateSummary
|
|
284
|
-
| JobExchangeRateSummary;
|
|
285
|
-
|
|
286
299
|
export interface GetAllExchangeRatesResponse {
|
|
287
300
|
count: number;
|
|
288
301
|
only_undefined: boolean;
|
|
289
|
-
exchange_rates:
|
|
302
|
+
exchange_rates: JobExchangeRateSummary[];
|
|
290
303
|
}
|
|
291
304
|
|
|
292
305
|
export type GetExchangeRatesResponseId = number | string;
|
|
@@ -340,6 +353,11 @@ export type InstanceGetResponseJobImageType =
|
|
|
340
353
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
341
354
|
export const InstanceGetResponseJobImageType = { SIMPLE: "SIMPLE", NEXTFLOW: "NEXTFLOW" } as const;
|
|
342
355
|
|
|
356
|
+
/**
|
|
357
|
+
* A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
|
|
358
|
+
*/
|
|
359
|
+
export type InstanceGetResponseOutputs = { [key: string]: unknown };
|
|
360
|
+
|
|
343
361
|
export interface InstanceGetResponse {
|
|
344
362
|
/** The Project the Instance is running in
|
|
345
363
|
*/
|
|
@@ -405,9 +423,11 @@ The initial phase, indicating that the Instance is preparing to run, is `PENDING
|
|
|
405
423
|
/** The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like `NEXTFLOW`)
|
|
406
424
|
*/
|
|
407
425
|
job_image_type?: InstanceGetResponseJobImageType;
|
|
426
|
+
/** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
|
|
427
|
+
outputs: InstanceGetResponseOutputs;
|
|
408
428
|
/** The JSON string representation of the JobDefinition's outputs
|
|
409
429
|
*/
|
|
410
|
-
|
|
430
|
+
rendered_outputs?: string;
|
|
411
431
|
/** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
|
|
412
432
|
*/
|
|
413
433
|
fix_permissions?: boolean;
|
|
@@ -883,12 +903,6 @@ export interface RunningWorkflowGetAllResponse {
|
|
|
883
903
|
running_workflows: RunningWorkflowSummary[];
|
|
884
904
|
}
|
|
885
905
|
|
|
886
|
-
export interface PriorRunningWorkflowStep {
|
|
887
|
-
/** The Running Workflows Step's unique ID that ran prior to this step
|
|
888
|
-
*/
|
|
889
|
-
id: string;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
906
|
/**
|
|
893
907
|
* The status of the running workflow
|
|
894
908
|
*/
|
|
@@ -915,7 +929,7 @@ export interface RunningWorkflowSummary {
|
|
|
915
929
|
/** The status of the running workflow */
|
|
916
930
|
status: RunningWorkflowSummaryStatus;
|
|
917
931
|
/** The date and time the running workflow was started */
|
|
918
|
-
started
|
|
932
|
+
started: string;
|
|
919
933
|
/** The date and time the running workflow was stopped
|
|
920
934
|
*/
|
|
921
935
|
stopped?: string;
|
|
@@ -1009,7 +1023,6 @@ export interface RunningWorkflowStep {
|
|
|
1009
1023
|
/** True if the running workflow step has finished successfully */
|
|
1010
1024
|
success?: boolean;
|
|
1011
1025
|
running_workflow: RunningWorkflowSummary;
|
|
1012
|
-
prior_running_workflow_step?: PriorRunningWorkflowStep;
|
|
1013
1026
|
}
|
|
1014
1027
|
|
|
1015
1028
|
export interface ModeGetResponse {
|
|
@@ -1272,11 +1285,6 @@ export interface ExchangeRateDetail {
|
|
|
1272
1285
|
comment?: string;
|
|
1273
1286
|
}
|
|
1274
1287
|
|
|
1275
|
-
export interface ApplicationExchangeRateSummary {
|
|
1276
|
-
id: string;
|
|
1277
|
-
rate?: string;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1288
|
export interface JobExchangeRateSummary {
|
|
1281
1289
|
id: number;
|
|
1282
1290
|
rate?: string;
|
|
@@ -1361,6 +1369,11 @@ export type InstanceSummaryJobImageType =
|
|
|
1361
1369
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
1362
1370
|
export const InstanceSummaryJobImageType = { SIMPLE: "SIMPLE", NEXTFLOW: "NEXTFLOW" } as const;
|
|
1363
1371
|
|
|
1372
|
+
/**
|
|
1373
|
+
* A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
|
|
1374
|
+
*/
|
|
1375
|
+
export type InstanceSummaryOutputs = { [key: string]: unknown };
|
|
1376
|
+
|
|
1364
1377
|
export interface InstanceSummary {
|
|
1365
1378
|
/** The application instance ID
|
|
1366
1379
|
*/
|
|
@@ -1429,9 +1442,11 @@ The initial phase, indicating that the Instance is preparing to run, is `PENDING
|
|
|
1429
1442
|
/** The Job container image type. Typically a single-container `SIMPLE`` (where only one container runs) or a workflow where multiple container images can be spawned (like `NEXTFLOW`)
|
|
1430
1443
|
*/
|
|
1431
1444
|
job_image_type?: InstanceSummaryJobImageType;
|
|
1432
|
-
/**
|
|
1445
|
+
/** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
|
|
1446
|
+
outputs?: InstanceSummaryOutputs;
|
|
1447
|
+
/** The instance's known outputs, a JSON string defining a map of all the rendered outputs. Typically applied only to JOB application types
|
|
1433
1448
|
*/
|
|
1434
|
-
|
|
1449
|
+
rendered_outputs?: string;
|
|
1435
1450
|
/** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
|
|
1436
1451
|
*/
|
|
1437
1452
|
fix_permissions?: boolean;
|
|
@@ -1600,6 +1615,9 @@ export interface ProjectDetail {
|
|
|
1600
1615
|
/** The Account Server Product the Project belongs to
|
|
1601
1616
|
*/
|
|
1602
1617
|
product_id?: string;
|
|
1618
|
+
/** If it's applicable, the Account Server Product flavour. Typically one of `GOLD`, `SILVER`, `BRONZE`, `EVALUATION`
|
|
1619
|
+
*/
|
|
1620
|
+
product_flavour?: string;
|
|
1603
1621
|
/** The Account Server Organisation the Project Product Unit belongs to
|
|
1604
1622
|
*/
|
|
1605
1623
|
organisation_id?: string;
|
|
@@ -1678,10 +1696,12 @@ export interface ProjectFileDetail {
|
|
|
1678
1696
|
export interface RunningWorkflowWorkflow {
|
|
1679
1697
|
/** The Workflow ID
|
|
1680
1698
|
*/
|
|
1681
|
-
id
|
|
1699
|
+
id: string;
|
|
1682
1700
|
/** The Workflow name
|
|
1683
1701
|
*/
|
|
1684
|
-
name
|
|
1702
|
+
name: string;
|
|
1703
|
+
/** The version of the workflow. If there is no version (if the server is in DEVELOPER mode for example) the value will be `Unversioned`. */
|
|
1704
|
+
version: string;
|
|
1685
1705
|
}
|
|
1686
1706
|
|
|
1687
1707
|
export interface RunningWorkflowProject {
|
|
@@ -2862,22 +2882,6 @@ export type GetTaskParams = {
|
|
|
2862
2882
|
event_prior_ordinal?: QEventPriorOrdinalParameter;
|
|
2863
2883
|
};
|
|
2864
2884
|
|
|
2865
|
-
export type GetAllApplicationExchangeRatesParams = {
|
|
2866
|
-
/**
|
|
2867
|
-
* Only return records where the exchange rate is undefined
|
|
2868
|
-
|
|
2869
|
-
*/
|
|
2870
|
-
only_undefined?: QOnlyUndefinedParameter;
|
|
2871
|
-
};
|
|
2872
|
-
|
|
2873
|
-
export type GetApplicationExchangeRatesParams = {
|
|
2874
|
-
/**
|
|
2875
|
-
* Set to get current
|
|
2876
|
-
|
|
2877
|
-
*/
|
|
2878
|
-
current?: QCurrentParameter;
|
|
2879
|
-
};
|
|
2880
|
-
|
|
2881
2885
|
export type GetJobsParams = {
|
|
2882
2886
|
/**
|
|
2883
2887
|
* A Project identity
|
|
@@ -2989,6 +2993,11 @@ export type GetRunningWorkflowsParams = {
|
|
|
2989
2993
|
* @pattern ^workflow-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
|
|
2990
2994
|
*/
|
|
2991
2995
|
workflow_id?: QWorkflowIdParameter;
|
|
2996
|
+
/**
|
|
2997
|
+
* A Project identity
|
|
2998
|
+
* @pattern ^project-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
|
|
2999
|
+
*/
|
|
3000
|
+
project_id?: QProjectIdParameter;
|
|
2992
3001
|
};
|
|
2993
3002
|
|
|
2994
3003
|
export type AdminGetServiceErrorsParams = {
|