# This file was auto-generated by Fern from our API Definition.

import typing

from .. import core
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.request_options import RequestOptions
from ..types.app_api_v1schemas_knowledge_store_files_processing_status_response import (
    AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse,
)
from ..types.chunked_upload_response import ChunkedUploadResponse
from ..types.file_upload_config_response import FileUploadConfigResponse
from ..types.processing_logs_response import ProcessingLogsResponse
from ..types.storage_usage_response import StorageUsageResponse
from ..types.store_file_detail_response import StoreFileDetailResponse
from ..types.store_file_list_response import StoreFileListResponse
from ..types.store_file_upload_response import StoreFileUploadResponse
from .raw_client import AsyncRawStoreFilesClient, RawStoreFilesClient

# this is used as the default value for optional parameters
OMIT = typing.cast(typing.Any, ...)


class StoreFilesClient:
    def __init__(self, *, client_wrapper: SyncClientWrapper):
        self._raw_client = RawStoreFilesClient(client_wrapper=client_wrapper)

    @property
    def with_raw_response(self) -> RawStoreFilesClient:
        """
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawStoreFilesClient
        """
        return self._raw_client

    def upload_file_to_store(
        self,
        org_id: str,
        store_id: str,
        *,
        file: core.File,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileUploadResponse:
        """
        Upload a file directly to a store (up to ~31MB).

        Parameters
        ----------
        org_id : str

        store_id : str

        file : core.File
            See core.File for more documentation

        relative_path : typing.Optional[str]
            Relative path within the store

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileUploadResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.upload_file_to_store(
            org_id="org_id",
            store_id="store_id",
        )
        """
        _response = self._raw_client.upload_file_to_store(
            org_id, store_id, file=file, relative_path=relative_path, request_options=request_options
        )
        return _response.data

    def generate_chunked_upload_url(
        self,
        org_id: str,
        store_id: str,
        *,
        file_name: str,
        file_size: int,
        mime_type: str,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> ChunkedUploadResponse:
        """
        Generate a resumable upload URL for large files (>31MB).

        Parameters
        ----------
        org_id : str

        store_id : str

        file_name : str

        file_size : int
            File size in bytes

        mime_type : str
            File MIME type

        relative_path : typing.Optional[str]
            Relative path within the store

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        ChunkedUploadResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.generate_chunked_upload_url(
            org_id="org_id",
            store_id="store_id",
            file_name="file_name",
            file_size=1,
            mime_type="mime_type",
        )
        """
        _response = self._raw_client.generate_chunked_upload_url(
            org_id,
            store_id,
            file_name=file_name,
            file_size=file_size,
            mime_type=mime_type,
            relative_path=relative_path,
            request_options=request_options,
        )
        return _response.data

    def register_chunked_upload(
        self,
        org_id: str,
        store_id: str,
        *,
        upload_id: str,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileUploadResponse:
        """
        Register a completed chunked upload and add to store.

        Parameters
        ----------
        org_id : str

        store_id : str

        upload_id : str
            File ID returned from upload-url

        relative_path : typing.Optional[str]
            Relative path within the store for folder uploads

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileUploadResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.register_chunked_upload(
            org_id="org_id",
            store_id="store_id",
            upload_id="upload_id",
        )
        """
        _response = self._raw_client.register_chunked_upload(
            org_id, store_id, upload_id=upload_id, relative_path=relative_path, request_options=request_options
        )
        return _response.data

    def list_store_files(
        self,
        org_id: str,
        store_id: str,
        *,
        status: typing.Optional[str] = None,
        search: typing.Optional[str] = None,
        skip: typing.Optional[int] = None,
        limit: typing.Optional[int] = None,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileListResponse:
        """
        List files in a store with optional status filter and search.

        Parameters
        ----------
        org_id : str

        store_id : str

        status : typing.Optional[str]

        search : typing.Optional[str]

        skip : typing.Optional[int]

        limit : typing.Optional[int]

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileListResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.list_store_files(
            org_id="org_id",
            store_id="store_id",
        )
        """
        _response = self._raw_client.list_store_files(
            org_id, store_id, status=status, search=search, skip=skip, limit=limit, request_options=request_options
        )
        return _response.data

    def get_store_file(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> StoreFileDetailResponse:
        """
        Get details for a specific file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileDetailResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.get_store_file(
            org_id="org_id",
            store_id="store_id",
            file_id="file_id",
        )
        """
        _response = self._raw_client.get_store_file(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    def remove_store_file(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> None:
        """
        Remove a file from a store and delete its vectorized chunks.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        None

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.remove_store_file(
            org_id="org_id",
            store_id="store_id",
            file_id="file_id",
        )
        """
        _response = self._raw_client.remove_store_file(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    def bulk_remove_store_files(
        self,
        org_id: str,
        store_id: str,
        *,
        file_ids: typing.Sequence[str],
        request_options: typing.Optional[RequestOptions] = None,
    ) -> None:
        """
        Remove multiple files from a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_ids : typing.Sequence[str]
            List of file IDs to remove

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        None

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.bulk_remove_store_files(
            org_id="org_id",
            store_id="store_id",
            file_ids=["file_ids"],
        )
        """
        _response = self._raw_client.bulk_remove_store_files(
            org_id, store_id, file_ids=file_ids, request_options=request_options
        )
        return _response.data

    def get_processing_status(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse:
        """
        Get the processing status of a file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.get_processing_status(
            org_id="org_id",
            store_id="store_id",
            file_id="file_id",
        )
        """
        _response = self._raw_client.get_processing_status(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    def get_processing_logs(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> ProcessingLogsResponse:
        """
        Get the processing logs for a file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        ProcessingLogsResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.get_processing_logs(
            org_id="org_id",
            store_id="store_id",
            file_id="file_id",
        )
        """
        _response = self._raw_client.get_processing_logs(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    def retry_processing(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse:
        """
        Reset a failed file and re-trigger processing.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.retry_processing(
            org_id="org_id",
            store_id="store_id",
            file_id="file_id",
        )
        """
        _response = self._raw_client.retry_processing(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    def get_storage_usage(
        self, org_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> StorageUsageResponse:
        """
        Get storage usage breakdown across all stores in the organization.

        Parameters
        ----------
        org_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StorageUsageResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.get_storage_usage(
            org_id="org_id",
        )
        """
        _response = self._raw_client.get_storage_usage(org_id, request_options=request_options)
        return _response.data

    def get_file_config(self, *, request_options: typing.Optional[RequestOptions] = None) -> FileUploadConfigResponse:
        """
        Get supported file types, size limits, and chunk sizes. No auth required.

        Parameters
        ----------
        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        FileUploadConfigResponse
            Successful Response

        Examples
        --------
        from aitronos import Aitronos

        client = Aitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )
        client.store_files.get_file_config()
        """
        _response = self._raw_client.get_file_config(request_options=request_options)
        return _response.data


class AsyncStoreFilesClient:
    def __init__(self, *, client_wrapper: AsyncClientWrapper):
        self._raw_client = AsyncRawStoreFilesClient(client_wrapper=client_wrapper)

    @property
    def with_raw_response(self) -> AsyncRawStoreFilesClient:
        """
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawStoreFilesClient
        """
        return self._raw_client

    async def upload_file_to_store(
        self,
        org_id: str,
        store_id: str,
        *,
        file: core.File,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileUploadResponse:
        """
        Upload a file directly to a store (up to ~31MB).

        Parameters
        ----------
        org_id : str

        store_id : str

        file : core.File
            See core.File for more documentation

        relative_path : typing.Optional[str]
            Relative path within the store

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileUploadResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.upload_file_to_store(
                org_id="org_id",
                store_id="store_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.upload_file_to_store(
            org_id, store_id, file=file, relative_path=relative_path, request_options=request_options
        )
        return _response.data

    async def generate_chunked_upload_url(
        self,
        org_id: str,
        store_id: str,
        *,
        file_name: str,
        file_size: int,
        mime_type: str,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> ChunkedUploadResponse:
        """
        Generate a resumable upload URL for large files (>31MB).

        Parameters
        ----------
        org_id : str

        store_id : str

        file_name : str

        file_size : int
            File size in bytes

        mime_type : str
            File MIME type

        relative_path : typing.Optional[str]
            Relative path within the store

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        ChunkedUploadResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.generate_chunked_upload_url(
                org_id="org_id",
                store_id="store_id",
                file_name="file_name",
                file_size=1,
                mime_type="mime_type",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.generate_chunked_upload_url(
            org_id,
            store_id,
            file_name=file_name,
            file_size=file_size,
            mime_type=mime_type,
            relative_path=relative_path,
            request_options=request_options,
        )
        return _response.data

    async def register_chunked_upload(
        self,
        org_id: str,
        store_id: str,
        *,
        upload_id: str,
        relative_path: typing.Optional[str] = OMIT,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileUploadResponse:
        """
        Register a completed chunked upload and add to store.

        Parameters
        ----------
        org_id : str

        store_id : str

        upload_id : str
            File ID returned from upload-url

        relative_path : typing.Optional[str]
            Relative path within the store for folder uploads

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileUploadResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.register_chunked_upload(
                org_id="org_id",
                store_id="store_id",
                upload_id="upload_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.register_chunked_upload(
            org_id, store_id, upload_id=upload_id, relative_path=relative_path, request_options=request_options
        )
        return _response.data

    async def list_store_files(
        self,
        org_id: str,
        store_id: str,
        *,
        status: typing.Optional[str] = None,
        search: typing.Optional[str] = None,
        skip: typing.Optional[int] = None,
        limit: typing.Optional[int] = None,
        request_options: typing.Optional[RequestOptions] = None,
    ) -> StoreFileListResponse:
        """
        List files in a store with optional status filter and search.

        Parameters
        ----------
        org_id : str

        store_id : str

        status : typing.Optional[str]

        search : typing.Optional[str]

        skip : typing.Optional[int]

        limit : typing.Optional[int]

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileListResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.list_store_files(
                org_id="org_id",
                store_id="store_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.list_store_files(
            org_id, store_id, status=status, search=search, skip=skip, limit=limit, request_options=request_options
        )
        return _response.data

    async def get_store_file(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> StoreFileDetailResponse:
        """
        Get details for a specific file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StoreFileDetailResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.get_store_file(
                org_id="org_id",
                store_id="store_id",
                file_id="file_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.get_store_file(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    async def remove_store_file(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> None:
        """
        Remove a file from a store and delete its vectorized chunks.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        None

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.remove_store_file(
                org_id="org_id",
                store_id="store_id",
                file_id="file_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.remove_store_file(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    async def bulk_remove_store_files(
        self,
        org_id: str,
        store_id: str,
        *,
        file_ids: typing.Sequence[str],
        request_options: typing.Optional[RequestOptions] = None,
    ) -> None:
        """
        Remove multiple files from a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_ids : typing.Sequence[str]
            List of file IDs to remove

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        None

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.bulk_remove_store_files(
                org_id="org_id",
                store_id="store_id",
                file_ids=["file_ids"],
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.bulk_remove_store_files(
            org_id, store_id, file_ids=file_ids, request_options=request_options
        )
        return _response.data

    async def get_processing_status(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse:
        """
        Get the processing status of a file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.get_processing_status(
                org_id="org_id",
                store_id="store_id",
                file_id="file_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.get_processing_status(
            org_id, store_id, file_id, request_options=request_options
        )
        return _response.data

    async def get_processing_logs(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> ProcessingLogsResponse:
        """
        Get the processing logs for a file in a store.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        ProcessingLogsResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.get_processing_logs(
                org_id="org_id",
                store_id="store_id",
                file_id="file_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.get_processing_logs(
            org_id, store_id, file_id, request_options=request_options
        )
        return _response.data

    async def retry_processing(
        self, org_id: str, store_id: str, file_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse:
        """
        Reset a failed file and re-trigger processing.

        Parameters
        ----------
        org_id : str

        store_id : str

        file_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        AppApiV1SchemasKnowledgeStoreFilesProcessingStatusResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.retry_processing(
                org_id="org_id",
                store_id="store_id",
                file_id="file_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.retry_processing(org_id, store_id, file_id, request_options=request_options)
        return _response.data

    async def get_storage_usage(
        self, org_id: str, *, request_options: typing.Optional[RequestOptions] = None
    ) -> StorageUsageResponse:
        """
        Get storage usage breakdown across all stores in the organization.

        Parameters
        ----------
        org_id : str

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        StorageUsageResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.get_storage_usage(
                org_id="org_id",
            )


        asyncio.run(main())
        """
        _response = await self._raw_client.get_storage_usage(org_id, request_options=request_options)
        return _response.data

    async def get_file_config(
        self, *, request_options: typing.Optional[RequestOptions] = None
    ) -> FileUploadConfigResponse:
        """
        Get supported file types, size limits, and chunk sizes. No auth required.

        Parameters
        ----------
        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        FileUploadConfigResponse
            Successful Response

        Examples
        --------
        import asyncio

        from aitronos import AsyncAitronos

        client = AsyncAitronos(
            api_key="YOUR_API_KEY",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.store_files.get_file_config()


        asyncio.run(main())
        """
        _response = await self._raw_client.get_file_config(request_options=request_options)
        return _response.data
