studyfetch-sdk 0.1.0a1__tar.gz → 0.1.0a2__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.0a2/.release-please-manifest.json +3 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/CHANGELOG.md +8 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/PKG-INFO +1 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/api.md +3 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/pyproject.toml +1 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_version.py +1 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/auth.py +52 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/usage.py +52 -2
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_usage.py +66 -16
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_auth.py +50 -0
- studyfetch_sdk-0.1.0a1/.release-please-manifest.json +0 -3
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/.gitignore +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/CONTRIBUTING.md +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/LICENSE +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/README.md +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/SECURITY.md +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/bin/check-release-environment +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/bin/publish-pypi +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/examples/.keep +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/mypy.ini +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/noxfile.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/release-please-config.json +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/requirements-dev.lock +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/requirements.lock +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_base_client.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_client.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_compat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_constants.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_exceptions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_qs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_resource.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_types.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_logs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_reflection.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_resources_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_streams.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_sync.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_transform.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_typing.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_utils.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/lib/.keep +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/py.typed +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/login.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/number_2fa.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/organization_invites.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/chat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/components.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/embed.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/explainers.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/folders.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/bulk.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/materials.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/api_keys.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/logo/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/logo/logo.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/logo/upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/organizations.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/profile/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/profile/models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/profile/profile.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/profile/team.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/team/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/team/invite.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/team/team.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/organizations/theme.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/tests/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/tests/tests.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/upload/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/upload/upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/usage.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/v1.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/admin/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/login_authenticate_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth_register_new_user_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth_request_password_reset_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/auth_reset_password_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/chat_retrieve_session_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/chat_send_message_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/chat_stream_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_create_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_embed_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_embed_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_retrieve_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/component_update_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/embed/component_interact_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/embed/component_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/embed_get_theme_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/embed_verify_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/folder_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/folder_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/folder_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_create_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_get_download_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/material_retrieve_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/organizations/profile/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/organizations/team/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/scenario_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/scenario_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/test_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/test_retake_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/test_submit_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/usage_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/usage_get_summary_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/usage_list_events_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/usage_track_chat_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/types/v1/usage_track_event_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/audio_recaps/test_sections.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/auth/test_login.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/auth/test_number_2fa.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/auth/test_organization_invites.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/chat/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/chat/test_test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/embed/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/materials/test_bulk.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/materials/test_test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/materials/test_upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/logo/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/logo/test_upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/profile/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/profile/test_models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/profile/test_team.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/team/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/team/test_invite.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_api_keys.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_logo.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_profile.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_team.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_theme.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/scenarios/submissions/test_user.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/scenarios/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/scenarios/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_chat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_components.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_embed.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_explainers.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_folders.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_materials.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_organizations.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_tests.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/test_usage.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/tests/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/upload/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/conftest.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/sample_file.txt +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_client.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_deepcopy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_extract_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_qs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_required_args.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_transform.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_utils/test_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/test_utils/test_typing.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/utils.py +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.2 (2025-07-18)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** manual updates ([716c9c6](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/716c9c6389f3759fc3fe55800a926dc7a4bae2a9))
|
10
|
+
|
3
11
|
## 0.1.0-alpha.1 (2025-07-18)
|
4
12
|
|
5
13
|
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a2
|
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
|
@@ -10,6 +10,7 @@ Methods:
|
|
10
10
|
- <code title="post /api/v1/auth/register-with-invite">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">register_with_invite</a>() -> None</code>
|
11
11
|
- <code title="post /api/v1/auth/forgot-password">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">request_password_reset</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth_request_password_reset_params.py">params</a>) -> None</code>
|
12
12
|
- <code title="post /api/v1/auth/reset-password">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">reset_password</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth_reset_password_params.py">params</a>) -> None</code>
|
13
|
+
- <code title="post /api/v1/auth/verify-reset-token">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">verify_reset_token</a>() -> None</code>
|
13
14
|
|
14
15
|
### Login
|
15
16
|
|
@@ -90,7 +91,8 @@ Methods:
|
|
90
91
|
|
91
92
|
Methods:
|
92
93
|
|
93
|
-
- <code title="get /api/v1/organizations/{id}/usage">client.v1.organizations.usage.<a href="./src/studyfetch_sdk/resources/v1/organizations/usage.py">
|
94
|
+
- <code title="get /api/v1/organizations/{id}/usage">client.v1.organizations.usage.<a href="./src/studyfetch_sdk/resources/v1/organizations/usage.py">retrieve</a>(id) -> None</code>
|
95
|
+
- <code title="get /api/v1/organizations/usage">client.v1.organizations.usage.<a href="./src/studyfetch_sdk/resources/v1/organizations/usage.py">list</a>() -> None</code>
|
94
96
|
|
95
97
|
### Theme
|
96
98
|
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/auth.py
RENAMED
@@ -258,6 +258,26 @@ class AuthResource(SyncAPIResource):
|
|
258
258
|
cast_to=NoneType,
|
259
259
|
)
|
260
260
|
|
261
|
+
def verify_reset_token(
|
262
|
+
self,
|
263
|
+
*,
|
264
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
265
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
266
|
+
extra_headers: Headers | None = None,
|
267
|
+
extra_query: Query | None = None,
|
268
|
+
extra_body: Body | None = None,
|
269
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
270
|
+
) -> None:
|
271
|
+
"""Verify password reset token"""
|
272
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
273
|
+
return self._post(
|
274
|
+
"/api/v1/auth/verify-reset-token",
|
275
|
+
options=make_request_options(
|
276
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
277
|
+
),
|
278
|
+
cast_to=NoneType,
|
279
|
+
)
|
280
|
+
|
261
281
|
|
262
282
|
class AsyncAuthResource(AsyncAPIResource):
|
263
283
|
@cached_property
|
@@ -475,6 +495,26 @@ class AsyncAuthResource(AsyncAPIResource):
|
|
475
495
|
cast_to=NoneType,
|
476
496
|
)
|
477
497
|
|
498
|
+
async def verify_reset_token(
|
499
|
+
self,
|
500
|
+
*,
|
501
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
502
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
503
|
+
extra_headers: Headers | None = None,
|
504
|
+
extra_query: Query | None = None,
|
505
|
+
extra_body: Body | None = None,
|
506
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
507
|
+
) -> None:
|
508
|
+
"""Verify password reset token"""
|
509
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
510
|
+
return await self._post(
|
511
|
+
"/api/v1/auth/verify-reset-token",
|
512
|
+
options=make_request_options(
|
513
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
514
|
+
),
|
515
|
+
cast_to=NoneType,
|
516
|
+
)
|
517
|
+
|
478
518
|
|
479
519
|
class AuthResourceWithRawResponse:
|
480
520
|
def __init__(self, auth: AuthResource) -> None:
|
@@ -498,6 +538,9 @@ class AuthResourceWithRawResponse:
|
|
498
538
|
self.reset_password = to_raw_response_wrapper(
|
499
539
|
auth.reset_password,
|
500
540
|
)
|
541
|
+
self.verify_reset_token = to_raw_response_wrapper(
|
542
|
+
auth.verify_reset_token,
|
543
|
+
)
|
501
544
|
|
502
545
|
@cached_property
|
503
546
|
def login(self) -> LoginResourceWithRawResponse:
|
@@ -534,6 +577,9 @@ class AsyncAuthResourceWithRawResponse:
|
|
534
577
|
self.reset_password = async_to_raw_response_wrapper(
|
535
578
|
auth.reset_password,
|
536
579
|
)
|
580
|
+
self.verify_reset_token = async_to_raw_response_wrapper(
|
581
|
+
auth.verify_reset_token,
|
582
|
+
)
|
537
583
|
|
538
584
|
@cached_property
|
539
585
|
def login(self) -> AsyncLoginResourceWithRawResponse:
|
@@ -570,6 +616,9 @@ class AuthResourceWithStreamingResponse:
|
|
570
616
|
self.reset_password = to_streamed_response_wrapper(
|
571
617
|
auth.reset_password,
|
572
618
|
)
|
619
|
+
self.verify_reset_token = to_streamed_response_wrapper(
|
620
|
+
auth.verify_reset_token,
|
621
|
+
)
|
573
622
|
|
574
623
|
@cached_property
|
575
624
|
def login(self) -> LoginResourceWithStreamingResponse:
|
@@ -606,6 +655,9 @@ class AsyncAuthResourceWithStreamingResponse:
|
|
606
655
|
self.reset_password = async_to_streamed_response_wrapper(
|
607
656
|
auth.reset_password,
|
608
657
|
)
|
658
|
+
self.verify_reset_token = async_to_streamed_response_wrapper(
|
659
|
+
auth.verify_reset_token,
|
660
|
+
)
|
609
661
|
|
610
662
|
@cached_property
|
611
663
|
def login(self) -> AsyncLoginResourceWithStreamingResponse:
|
@@ -38,7 +38,7 @@ class UsageResource(SyncAPIResource):
|
|
38
38
|
"""
|
39
39
|
return UsageResourceWithStreamingResponse(self)
|
40
40
|
|
41
|
-
def
|
41
|
+
def retrieve(
|
42
42
|
self,
|
43
43
|
id: str,
|
44
44
|
*,
|
@@ -70,6 +70,25 @@ class UsageResource(SyncAPIResource):
|
|
70
70
|
cast_to=NoneType,
|
71
71
|
)
|
72
72
|
|
73
|
+
def list(
|
74
|
+
self,
|
75
|
+
*,
|
76
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
77
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
78
|
+
extra_headers: Headers | None = None,
|
79
|
+
extra_query: Query | None = None,
|
80
|
+
extra_body: Body | None = None,
|
81
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
82
|
+
) -> None:
|
83
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
84
|
+
return self._get(
|
85
|
+
"/api/v1/organizations/usage",
|
86
|
+
options=make_request_options(
|
87
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
88
|
+
),
|
89
|
+
cast_to=NoneType,
|
90
|
+
)
|
91
|
+
|
73
92
|
|
74
93
|
class AsyncUsageResource(AsyncAPIResource):
|
75
94
|
@cached_property
|
@@ -91,7 +110,7 @@ class AsyncUsageResource(AsyncAPIResource):
|
|
91
110
|
"""
|
92
111
|
return AsyncUsageResourceWithStreamingResponse(self)
|
93
112
|
|
94
|
-
async def
|
113
|
+
async def retrieve(
|
95
114
|
self,
|
96
115
|
id: str,
|
97
116
|
*,
|
@@ -123,11 +142,33 @@ class AsyncUsageResource(AsyncAPIResource):
|
|
123
142
|
cast_to=NoneType,
|
124
143
|
)
|
125
144
|
|
145
|
+
async def list(
|
146
|
+
self,
|
147
|
+
*,
|
148
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
149
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
150
|
+
extra_headers: Headers | None = None,
|
151
|
+
extra_query: Query | None = None,
|
152
|
+
extra_body: Body | None = None,
|
153
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
154
|
+
) -> None:
|
155
|
+
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
156
|
+
return await self._get(
|
157
|
+
"/api/v1/organizations/usage",
|
158
|
+
options=make_request_options(
|
159
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
160
|
+
),
|
161
|
+
cast_to=NoneType,
|
162
|
+
)
|
163
|
+
|
126
164
|
|
127
165
|
class UsageResourceWithRawResponse:
|
128
166
|
def __init__(self, usage: UsageResource) -> None:
|
129
167
|
self._usage = usage
|
130
168
|
|
169
|
+
self.retrieve = to_raw_response_wrapper(
|
170
|
+
usage.retrieve,
|
171
|
+
)
|
131
172
|
self.list = to_raw_response_wrapper(
|
132
173
|
usage.list,
|
133
174
|
)
|
@@ -137,6 +178,9 @@ class AsyncUsageResourceWithRawResponse:
|
|
137
178
|
def __init__(self, usage: AsyncUsageResource) -> None:
|
138
179
|
self._usage = usage
|
139
180
|
|
181
|
+
self.retrieve = async_to_raw_response_wrapper(
|
182
|
+
usage.retrieve,
|
183
|
+
)
|
140
184
|
self.list = async_to_raw_response_wrapper(
|
141
185
|
usage.list,
|
142
186
|
)
|
@@ -146,6 +190,9 @@ class UsageResourceWithStreamingResponse:
|
|
146
190
|
def __init__(self, usage: UsageResource) -> None:
|
147
191
|
self._usage = usage
|
148
192
|
|
193
|
+
self.retrieve = to_streamed_response_wrapper(
|
194
|
+
usage.retrieve,
|
195
|
+
)
|
149
196
|
self.list = to_streamed_response_wrapper(
|
150
197
|
usage.list,
|
151
198
|
)
|
@@ -155,6 +202,9 @@ class AsyncUsageResourceWithStreamingResponse:
|
|
155
202
|
def __init__(self, usage: AsyncUsageResource) -> None:
|
156
203
|
self._usage = usage
|
157
204
|
|
205
|
+
self.retrieve = async_to_streamed_response_wrapper(
|
206
|
+
usage.retrieve,
|
207
|
+
)
|
158
208
|
self.list = async_to_streamed_response_wrapper(
|
159
209
|
usage.list,
|
160
210
|
)
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/tests/api_resources/v1/organizations/test_usage.py
RENAMED
@@ -16,15 +16,15 @@ class TestUsage:
|
|
16
16
|
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
|
17
17
|
|
18
18
|
@parametrize
|
19
|
-
def
|
20
|
-
usage = client.v1.organizations.usage.
|
19
|
+
def test_method_retrieve(self, client: StudyfetchSDK) -> None:
|
20
|
+
usage = client.v1.organizations.usage.retrieve(
|
21
21
|
"id",
|
22
22
|
)
|
23
23
|
assert usage is None
|
24
24
|
|
25
25
|
@parametrize
|
26
|
-
def
|
27
|
-
response = client.v1.organizations.usage.with_raw_response.
|
26
|
+
def test_raw_response_retrieve(self, client: StudyfetchSDK) -> None:
|
27
|
+
response = client.v1.organizations.usage.with_raw_response.retrieve(
|
28
28
|
"id",
|
29
29
|
)
|
30
30
|
|
@@ -34,8 +34,8 @@ class TestUsage:
|
|
34
34
|
assert usage is None
|
35
35
|
|
36
36
|
@parametrize
|
37
|
-
def
|
38
|
-
with client.v1.organizations.usage.with_streaming_response.
|
37
|
+
def test_streaming_response_retrieve(self, client: StudyfetchSDK) -> None:
|
38
|
+
with client.v1.organizations.usage.with_streaming_response.retrieve(
|
39
39
|
"id",
|
40
40
|
) as response:
|
41
41
|
assert not response.is_closed
|
@@ -47,12 +47,37 @@ class TestUsage:
|
|
47
47
|
assert cast(Any, response.is_closed) is True
|
48
48
|
|
49
49
|
@parametrize
|
50
|
-
def
|
50
|
+
def test_path_params_retrieve(self, client: StudyfetchSDK) -> None:
|
51
51
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
|
52
|
-
client.v1.organizations.usage.with_raw_response.
|
52
|
+
client.v1.organizations.usage.with_raw_response.retrieve(
|
53
53
|
"",
|
54
54
|
)
|
55
55
|
|
56
|
+
@parametrize
|
57
|
+
def test_method_list(self, client: StudyfetchSDK) -> None:
|
58
|
+
usage = client.v1.organizations.usage.list()
|
59
|
+
assert usage is None
|
60
|
+
|
61
|
+
@parametrize
|
62
|
+
def test_raw_response_list(self, client: StudyfetchSDK) -> None:
|
63
|
+
response = client.v1.organizations.usage.with_raw_response.list()
|
64
|
+
|
65
|
+
assert response.is_closed is True
|
66
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
67
|
+
usage = response.parse()
|
68
|
+
assert usage is None
|
69
|
+
|
70
|
+
@parametrize
|
71
|
+
def test_streaming_response_list(self, client: StudyfetchSDK) -> None:
|
72
|
+
with client.v1.organizations.usage.with_streaming_response.list() as response:
|
73
|
+
assert not response.is_closed
|
74
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
75
|
+
|
76
|
+
usage = response.parse()
|
77
|
+
assert usage is None
|
78
|
+
|
79
|
+
assert cast(Any, response.is_closed) is True
|
80
|
+
|
56
81
|
|
57
82
|
class TestAsyncUsage:
|
58
83
|
parametrize = pytest.mark.parametrize(
|
@@ -60,15 +85,15 @@ class TestAsyncUsage:
|
|
60
85
|
)
|
61
86
|
|
62
87
|
@parametrize
|
63
|
-
async def
|
64
|
-
usage = await async_client.v1.organizations.usage.
|
88
|
+
async def test_method_retrieve(self, async_client: AsyncStudyfetchSDK) -> None:
|
89
|
+
usage = await async_client.v1.organizations.usage.retrieve(
|
65
90
|
"id",
|
66
91
|
)
|
67
92
|
assert usage is None
|
68
93
|
|
69
94
|
@parametrize
|
70
|
-
async def
|
71
|
-
response = await async_client.v1.organizations.usage.with_raw_response.
|
95
|
+
async def test_raw_response_retrieve(self, async_client: AsyncStudyfetchSDK) -> None:
|
96
|
+
response = await async_client.v1.organizations.usage.with_raw_response.retrieve(
|
72
97
|
"id",
|
73
98
|
)
|
74
99
|
|
@@ -78,8 +103,8 @@ class TestAsyncUsage:
|
|
78
103
|
assert usage is None
|
79
104
|
|
80
105
|
@parametrize
|
81
|
-
async def
|
82
|
-
async with async_client.v1.organizations.usage.with_streaming_response.
|
106
|
+
async def test_streaming_response_retrieve(self, async_client: AsyncStudyfetchSDK) -> None:
|
107
|
+
async with async_client.v1.organizations.usage.with_streaming_response.retrieve(
|
83
108
|
"id",
|
84
109
|
) as response:
|
85
110
|
assert not response.is_closed
|
@@ -91,8 +116,33 @@ class TestAsyncUsage:
|
|
91
116
|
assert cast(Any, response.is_closed) is True
|
92
117
|
|
93
118
|
@parametrize
|
94
|
-
async def
|
119
|
+
async def test_path_params_retrieve(self, async_client: AsyncStudyfetchSDK) -> None:
|
95
120
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
|
96
|
-
await async_client.v1.organizations.usage.with_raw_response.
|
121
|
+
await async_client.v1.organizations.usage.with_raw_response.retrieve(
|
97
122
|
"",
|
98
123
|
)
|
124
|
+
|
125
|
+
@parametrize
|
126
|
+
async def test_method_list(self, async_client: AsyncStudyfetchSDK) -> None:
|
127
|
+
usage = await async_client.v1.organizations.usage.list()
|
128
|
+
assert usage is None
|
129
|
+
|
130
|
+
@parametrize
|
131
|
+
async def test_raw_response_list(self, async_client: AsyncStudyfetchSDK) -> None:
|
132
|
+
response = await async_client.v1.organizations.usage.with_raw_response.list()
|
133
|
+
|
134
|
+
assert response.is_closed is True
|
135
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
136
|
+
usage = await response.parse()
|
137
|
+
assert usage is None
|
138
|
+
|
139
|
+
@parametrize
|
140
|
+
async def test_streaming_response_list(self, async_client: AsyncStudyfetchSDK) -> None:
|
141
|
+
async with async_client.v1.organizations.usage.with_streaming_response.list() as response:
|
142
|
+
assert not response.is_closed
|
143
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
144
|
+
|
145
|
+
usage = await response.parse()
|
146
|
+
assert usage is None
|
147
|
+
|
148
|
+
assert cast(Any, response.is_closed) is True
|
@@ -195,6 +195,31 @@ class TestAuth:
|
|
195
195
|
|
196
196
|
assert cast(Any, response.is_closed) is True
|
197
197
|
|
198
|
+
@parametrize
|
199
|
+
def test_method_verify_reset_token(self, client: StudyfetchSDK) -> None:
|
200
|
+
auth = client.v1.auth.verify_reset_token()
|
201
|
+
assert auth is None
|
202
|
+
|
203
|
+
@parametrize
|
204
|
+
def test_raw_response_verify_reset_token(self, client: StudyfetchSDK) -> None:
|
205
|
+
response = client.v1.auth.with_raw_response.verify_reset_token()
|
206
|
+
|
207
|
+
assert response.is_closed is True
|
208
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
209
|
+
auth = response.parse()
|
210
|
+
assert auth is None
|
211
|
+
|
212
|
+
@parametrize
|
213
|
+
def test_streaming_response_verify_reset_token(self, client: StudyfetchSDK) -> None:
|
214
|
+
with client.v1.auth.with_streaming_response.verify_reset_token() as response:
|
215
|
+
assert not response.is_closed
|
216
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
217
|
+
|
218
|
+
auth = response.parse()
|
219
|
+
assert auth is None
|
220
|
+
|
221
|
+
assert cast(Any, response.is_closed) is True
|
222
|
+
|
198
223
|
|
199
224
|
class TestAsyncAuth:
|
200
225
|
parametrize = pytest.mark.parametrize(
|
@@ -380,3 +405,28 @@ class TestAsyncAuth:
|
|
380
405
|
assert auth is None
|
381
406
|
|
382
407
|
assert cast(Any, response.is_closed) is True
|
408
|
+
|
409
|
+
@parametrize
|
410
|
+
async def test_method_verify_reset_token(self, async_client: AsyncStudyfetchSDK) -> None:
|
411
|
+
auth = await async_client.v1.auth.verify_reset_token()
|
412
|
+
assert auth is None
|
413
|
+
|
414
|
+
@parametrize
|
415
|
+
async def test_raw_response_verify_reset_token(self, async_client: AsyncStudyfetchSDK) -> None:
|
416
|
+
response = await async_client.v1.auth.with_raw_response.verify_reset_token()
|
417
|
+
|
418
|
+
assert response.is_closed is True
|
419
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
420
|
+
auth = await response.parse()
|
421
|
+
assert auth is None
|
422
|
+
|
423
|
+
@parametrize
|
424
|
+
async def test_streaming_response_verify_reset_token(self, async_client: AsyncStudyfetchSDK) -> None:
|
425
|
+
async with async_client.v1.auth.with_streaming_response.verify_reset_token() as response:
|
426
|
+
assert not response.is_closed
|
427
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
428
|
+
|
429
|
+
auth = await response.parse()
|
430
|
+
assert auth is None
|
431
|
+
|
432
|
+
assert cast(Any, response.is_closed) is True
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/_utils/_resources_proxy.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/__init__.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/login.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/auth/number_2fa.py
RENAMED
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/__init__.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/chat.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/sessions.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/chat/test.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/components.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/__init__.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/component.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/embed/embed.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/explainers.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/flashcards.py
RENAMED
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/folders.py
RENAMED
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/bulk.py
RENAMED
File without changes
|
File without changes
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a2}/src/studyfetch_sdk/resources/v1/materials/test.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|