studyfetch-sdk 0.1.0a17__tar.gz → 0.1.0a18__tar.gz
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.
- studyfetch_sdk-0.1.0a18/.release-please-manifest.json +3 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/CHANGELOG.md +8 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/PKG-INFO +1 -1
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/api.md +45 -15
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/pyproject.toml +1 -1
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_version.py +1 -1
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/materials/bulk.py +60 -7
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/materials/materials.py +120 -55
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/materials/test.py +29 -25
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/materials/upload.py +140 -14
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/__init__.py +7 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_batch_create_params.py +29 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_batch_create_response.py +27 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_debug_response.py +47 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material_get_download_url_params.py +3 -2
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_get_download_url_response.py +12 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_move_params.py +15 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_rename_params.py +12 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material_search_params.py +3 -6
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/material_search_response.py +54 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/__init__.py +15 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/bulk_move_params.py +18 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/bulk_move_response.py +15 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/test_perform_ocr_response.py +19 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/test_process_epub_response.py +30 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/test_process_image_response.py +30 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/test_process_video_response.py +25 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py +20 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +23 -0
- studyfetch_sdk-0.1.0a18/src/studyfetch_sdk/types/v1/materials/upload_create_presigned_url_response.py +18 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/materials/test_bulk.py +32 -12
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/materials/test_test.py +31 -24
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/materials/test_upload.py +97 -24
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_materials.py +160 -82
- studyfetch_sdk-0.1.0a17/.release-please-manifest.json +0 -3
- studyfetch_sdk-0.1.0a17/src/studyfetch_sdk/types/v1/materials/__init__.py +0 -6
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/.gitignore +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/CONTRIBUTING.md +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/LICENSE +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/README.md +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/SECURITY.md +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/bin/check-release-environment +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/bin/publish-pypi +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/examples/.keep +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/mypy.ini +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/noxfile.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/release-please-config.json +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/requirements-dev.lock +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/requirements.lock +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_base_client.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_client.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_compat.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_constants.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_exceptions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_files.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_models.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_qs.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_resource.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_types.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_logs.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_reflection.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_resources_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_streams.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_sync.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_transform.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_typing.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/_utils/_utils.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/lib/.keep +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/py.typed +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/assignment_grader.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/chat/chat.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/chat/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/chat/test.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/components.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/embed/component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/embed/embed.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/explainers.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/folders.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/tests/component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/tests/tests.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/upload/component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/upload/upload.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/usage/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/usage/analyst.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/usage/usage.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/resources/v1/v1.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/assignment_grader_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/assignment_grader_get_all_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/assignment_grader_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/chat_get_session_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/chat_send_message_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/chat_stream_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_generate_embed_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_generate_embed_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/embed/component_interact_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/embed/component_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/embed_get_theme_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/embed_verify_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/explainer_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/folder_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/folder_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/folder_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/material_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenario_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenario_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/test_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/test_retake_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/test_submit_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_complete_upload_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_complete_upload_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_upload_file_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/component_upload_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/upload/file_upload_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/usage/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/usage/analyst_list_events_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/usage_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/usage_get_summary_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/src/studyfetch_sdk/types/v1/usage_list_events_params.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/audio_recaps/test_sections.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/chat/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/chat/test_test.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/embed/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/scenarios/submissions/test_user.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/scenarios/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/scenarios/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_assignment_grader.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_chat.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_components.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_embed.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_explainers.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_folders.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_tests.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/test_usage.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/tests/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/upload/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/usage/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/api_resources/v1/usage/test_analyst.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/conftest.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/sample_file.txt +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_client.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_deepcopy.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_extract_files.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_files.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_models.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_qs.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_required_args.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_response.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_transform.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_utils/test_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/test_utils/test_typing.py +0 -0
- {studyfetch_sdk-0.1.0a17 → studyfetch_sdk-0.1.0a18}/tests/utils.py +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.18 (2025-07-21)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([1f84fa0](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/1f84fa0832573252367eda81dcaf2845d740e9be))
|
10
|
+
|
3
11
|
## 0.1.0-alpha.17 (2025-07-21)
|
4
12
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a18
|
4
4
|
Summary: The official Python library for the studyfetch-sdk API
|
5
5
|
Project-URL: Homepage, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
6
6
|
Project-URL: Repository, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
@@ -5,7 +5,14 @@
|
|
5
5
|
Types:
|
6
6
|
|
7
7
|
```python
|
8
|
-
from studyfetch_sdk.types.v1 import
|
8
|
+
from studyfetch_sdk.types.v1 import (
|
9
|
+
Material,
|
10
|
+
MaterialListResponse,
|
11
|
+
MaterialBatchCreateResponse,
|
12
|
+
MaterialDebugResponse,
|
13
|
+
MaterialGetDownloadURLResponse,
|
14
|
+
MaterialSearchResponse,
|
15
|
+
)
|
9
16
|
```
|
10
17
|
|
11
18
|
Methods:
|
@@ -14,37 +21,60 @@ Methods:
|
|
14
21
|
- <code title="get /api/v1/materials/{id}">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">retrieve</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
15
22
|
- <code title="get /api/v1/materials">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">list</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_list_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material_list_response.py">MaterialListResponse</a></code>
|
16
23
|
- <code title="delete /api/v1/materials/{id}">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">delete</a>(id) -> None</code>
|
17
|
-
- <code title="post /api/v1/materials/batch">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">batch_create</a>() ->
|
18
|
-
- <code title="get /api/v1/materials/{id}/debug">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">debug</a>(id) ->
|
19
|
-
- <code title="get /api/v1/materials/{id}/download-url">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">get_download_url</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/material_get_download_url_params.py">params</a>) ->
|
20
|
-
- <code title="post /api/v1/materials/{id}/move">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">move</a>(id) ->
|
21
|
-
- <code title="post /api/v1/materials/{id}/rename">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">rename</a>(id) ->
|
22
|
-
- <code title="post /api/v1/materials/{id}/reprocess">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">reprocess</a>(id) ->
|
23
|
-
- <code title="post /api/v1/materials/search">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">search</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_search_params.py">params</a>) ->
|
24
|
+
- <code title="post /api/v1/materials/batch">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">batch_create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_batch_create_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material_batch_create_response.py">MaterialBatchCreateResponse</a></code>
|
25
|
+
- <code title="get /api/v1/materials/{id}/debug">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">debug</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/material_debug_response.py">MaterialDebugResponse</a></code>
|
26
|
+
- <code title="get /api/v1/materials/{id}/download-url">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">get_download_url</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/material_get_download_url_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material_get_download_url_response.py">MaterialGetDownloadURLResponse</a></code>
|
27
|
+
- <code title="post /api/v1/materials/{id}/move">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">move</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/material_move_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
28
|
+
- <code title="post /api/v1/materials/{id}/rename">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">rename</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/material_rename_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
29
|
+
- <code title="post /api/v1/materials/{id}/reprocess">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">reprocess</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
30
|
+
- <code title="post /api/v1/materials/search">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">search</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_search_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material_search_response.py">MaterialSearchResponse</a></code>
|
24
31
|
|
25
32
|
### Upload
|
26
33
|
|
34
|
+
Types:
|
35
|
+
|
36
|
+
```python
|
37
|
+
from studyfetch_sdk.types.v1.materials import UploadCreatePresignedURLResponse
|
38
|
+
```
|
39
|
+
|
27
40
|
Methods:
|
28
41
|
|
29
|
-
- <code title="post /api/v1/materials/upload/complete">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">complete_upload</a>() ->
|
30
|
-
- <code title="post /api/v1/materials/upload/presigned-url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">create_presigned_url</a>() ->
|
42
|
+
- <code title="post /api/v1/materials/upload/complete">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">complete_upload</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
43
|
+
- <code title="post /api/v1/materials/upload/presigned-url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">create_presigned_url</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/materials/upload_create_presigned_url_response.py">UploadCreatePresignedURLResponse</a></code>
|
31
44
|
- <code title="post /api/v1/materials/upload">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_file</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
32
45
|
- <code title="post /api/v1/materials/upload/url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_from_url</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
33
46
|
|
34
47
|
### Bulk
|
35
48
|
|
49
|
+
Types:
|
50
|
+
|
51
|
+
```python
|
52
|
+
from studyfetch_sdk.types.v1.materials import BulkMoveResponse
|
53
|
+
```
|
54
|
+
|
36
55
|
Methods:
|
37
56
|
|
38
|
-
- <code title="post /api/v1/materials/bulk/move">client.v1.materials.bulk.<a href="./src/studyfetch_sdk/resources/v1/materials/bulk.py">move</a>() ->
|
57
|
+
- <code title="post /api/v1/materials/bulk/move">client.v1.materials.bulk.<a href="./src/studyfetch_sdk/resources/v1/materials/bulk.py">move</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/bulk_move_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/materials/bulk_move_response.py">BulkMoveResponse</a></code>
|
39
58
|
|
40
59
|
### Test
|
41
60
|
|
61
|
+
Types:
|
62
|
+
|
63
|
+
```python
|
64
|
+
from studyfetch_sdk.types.v1.materials import (
|
65
|
+
TestPerformOcrResponse,
|
66
|
+
TestProcessEpubResponse,
|
67
|
+
TestProcessImageResponse,
|
68
|
+
TestProcessVideoResponse,
|
69
|
+
)
|
70
|
+
```
|
71
|
+
|
42
72
|
Methods:
|
43
73
|
|
44
|
-
- <code title="post /api/v1/materials/test/ocr">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">perform_ocr</a>() ->
|
45
|
-
- <code title="post /api/v1/materials/test/epub-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_epub</a>() ->
|
46
|
-
- <code title="post /api/v1/materials/test/image-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_image</a>() ->
|
47
|
-
- <code title="post /api/v1/materials/test/video-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_video</a>() ->
|
74
|
+
- <code title="post /api/v1/materials/test/ocr">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">perform_ocr</a>() -> <a href="./src/studyfetch_sdk/types/v1/materials/test_perform_ocr_response.py">TestPerformOcrResponse</a></code>
|
75
|
+
- <code title="post /api/v1/materials/test/epub-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_epub</a>() -> <a href="./src/studyfetch_sdk/types/v1/materials/test_process_epub_response.py">TestProcessEpubResponse</a></code>
|
76
|
+
- <code title="post /api/v1/materials/test/image-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_image</a>() -> <a href="./src/studyfetch_sdk/types/v1/materials/test_process_image_response.py">TestProcessImageResponse</a></code>
|
77
|
+
- <code title="post /api/v1/materials/test/video-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_video</a>() -> <a href="./src/studyfetch_sdk/types/v1/materials/test_process_video_response.py">TestProcessVideoResponse</a></code>
|
48
78
|
|
49
79
|
## Folders
|
50
80
|
|
@@ -2,9 +2,12 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
+
from typing import List, Optional
|
6
|
+
|
5
7
|
import httpx
|
6
8
|
|
7
|
-
from ...._types import NOT_GIVEN, Body, Query, Headers,
|
9
|
+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
10
|
+
from ...._utils import maybe_transform, async_maybe_transform
|
8
11
|
from ...._compat import cached_property
|
9
12
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
10
13
|
from ...._response import (
|
@@ -14,6 +17,8 @@ from ...._response import (
|
|
14
17
|
async_to_streamed_response_wrapper,
|
15
18
|
)
|
16
19
|
from ...._base_client import make_request_options
|
20
|
+
from ....types.v1.materials import bulk_move_params
|
21
|
+
from ....types.v1.materials.bulk_move_response import BulkMoveResponse
|
17
22
|
|
18
23
|
__all__ = ["BulkResource", "AsyncBulkResource"]
|
19
24
|
|
@@ -41,20 +46,44 @@ class BulkResource(SyncAPIResource):
|
|
41
46
|
def move(
|
42
47
|
self,
|
43
48
|
*,
|
49
|
+
folder_id: Optional[str],
|
50
|
+
material_ids: List[str],
|
44
51
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
45
52
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
46
53
|
extra_headers: Headers | None = None,
|
47
54
|
extra_query: Query | None = None,
|
48
55
|
extra_body: Body | None = None,
|
49
56
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
50
|
-
) ->
|
51
|
-
|
57
|
+
) -> BulkMoveResponse:
|
58
|
+
"""
|
59
|
+
Bulk move materials to a different folder
|
60
|
+
|
61
|
+
Args:
|
62
|
+
folder_id: Target folder ID (null for root)
|
63
|
+
|
64
|
+
material_ids: Array of material IDs to move
|
65
|
+
|
66
|
+
extra_headers: Send extra headers
|
67
|
+
|
68
|
+
extra_query: Add additional query parameters to the request
|
69
|
+
|
70
|
+
extra_body: Add additional JSON properties to the request
|
71
|
+
|
72
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
73
|
+
"""
|
52
74
|
return self._post(
|
53
75
|
"/api/v1/materials/bulk/move",
|
76
|
+
body=maybe_transform(
|
77
|
+
{
|
78
|
+
"folder_id": folder_id,
|
79
|
+
"material_ids": material_ids,
|
80
|
+
},
|
81
|
+
bulk_move_params.BulkMoveParams,
|
82
|
+
),
|
54
83
|
options=make_request_options(
|
55
84
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
56
85
|
),
|
57
|
-
cast_to=
|
86
|
+
cast_to=BulkMoveResponse,
|
58
87
|
)
|
59
88
|
|
60
89
|
|
@@ -81,20 +110,44 @@ class AsyncBulkResource(AsyncAPIResource):
|
|
81
110
|
async def move(
|
82
111
|
self,
|
83
112
|
*,
|
113
|
+
folder_id: Optional[str],
|
114
|
+
material_ids: List[str],
|
84
115
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
85
116
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
86
117
|
extra_headers: Headers | None = None,
|
87
118
|
extra_query: Query | None = None,
|
88
119
|
extra_body: Body | None = None,
|
89
120
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
90
|
-
) ->
|
91
|
-
|
121
|
+
) -> BulkMoveResponse:
|
122
|
+
"""
|
123
|
+
Bulk move materials to a different folder
|
124
|
+
|
125
|
+
Args:
|
126
|
+
folder_id: Target folder ID (null for root)
|
127
|
+
|
128
|
+
material_ids: Array of material IDs to move
|
129
|
+
|
130
|
+
extra_headers: Send extra headers
|
131
|
+
|
132
|
+
extra_query: Add additional query parameters to the request
|
133
|
+
|
134
|
+
extra_body: Add additional JSON properties to the request
|
135
|
+
|
136
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
137
|
+
"""
|
92
138
|
return await self._post(
|
93
139
|
"/api/v1/materials/bulk/move",
|
140
|
+
body=await async_maybe_transform(
|
141
|
+
{
|
142
|
+
"folder_id": folder_id,
|
143
|
+
"material_ids": material_ids,
|
144
|
+
},
|
145
|
+
bulk_move_params.BulkMoveParams,
|
146
|
+
),
|
94
147
|
options=make_request_options(
|
95
148
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
96
149
|
),
|
97
|
-
cast_to=
|
150
|
+
cast_to=BulkMoveResponse,
|
98
151
|
)
|
99
152
|
|
100
153
|
|