studyfetch-sdk 0.1.0a3__tar.gz → 0.1.0a5__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.
Files changed (211) hide show
  1. studyfetch_sdk-0.1.0a5/.release-please-manifest.json +3 -0
  2. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/CHANGELOG.md +17 -0
  3. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/PKG-INFO +1 -1
  4. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/api.md +3 -3
  5. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/pyproject.toml +1 -1
  6. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_version.py +1 -1
  7. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/chat/chat.py +7 -7
  8. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/components.py +9 -8
  9. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/explainers.py +154 -9
  10. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/flashcards.py +16 -16
  11. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/component.py +116 -12
  12. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/scenarios.py +245 -9
  13. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/__init__.py +2 -0
  14. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/chat_send_message_params.py +3 -3
  15. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_create_params.py +375 -0
  16. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_create_response.py +3 -1
  17. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_embed_params.py +3 -2
  18. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_list_response.py +3 -1
  19. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_retrieve_response.py +3 -1
  20. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_update_response.py +3 -1
  21. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/explainer_create_params.py +45 -0
  22. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +53 -0
  23. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_get_all_params.py +2 -2
  24. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_get_due_params.py +1 -1
  25. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py +2 -2
  26. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/scenario_create_params.py +48 -0
  27. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/scenario_submit_params.py +18 -0
  28. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/scenario_update_params.py +48 -0
  29. studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +48 -0
  30. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/scenarios/test_component.py +64 -18
  31. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_chat.py +2 -2
  32. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_components.py +38 -10
  33. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_explainers.py +128 -12
  34. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_flashcards.py +14 -14
  35. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_scenarios.py +136 -22
  36. studyfetch_sdk-0.1.0a3/.release-please-manifest.json +0 -3
  37. studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/component_create_params.py +0 -29
  38. studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -11
  39. studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/scenario_create_params.py +0 -11
  40. studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/scenario_update_params.py +0 -11
  41. studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -11
  42. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/.gitignore +0 -0
  43. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/CONTRIBUTING.md +0 -0
  44. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/LICENSE +0 -0
  45. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/README.md +0 -0
  46. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/SECURITY.md +0 -0
  47. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/bin/check-release-environment +0 -0
  48. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/bin/publish-pypi +0 -0
  49. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/examples/.keep +0 -0
  50. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/mypy.ini +0 -0
  51. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/noxfile.py +0 -0
  52. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/release-please-config.json +0 -0
  53. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/requirements-dev.lock +0 -0
  54. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/requirements.lock +0 -0
  55. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/__init__.py +0 -0
  56. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_base_client.py +0 -0
  57. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_client.py +0 -0
  58. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_compat.py +0 -0
  59. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_constants.py +0 -0
  60. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_exceptions.py +0 -0
  61. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_files.py +0 -0
  62. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_models.py +0 -0
  63. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_qs.py +0 -0
  64. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_resource.py +0 -0
  65. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_response.py +0 -0
  66. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_streaming.py +0 -0
  67. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_types.py +0 -0
  68. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/__init__.py +0 -0
  69. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_logs.py +0 -0
  70. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_proxy.py +0 -0
  71. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_reflection.py +0 -0
  72. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_resources_proxy.py +0 -0
  73. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_streams.py +0 -0
  74. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_sync.py +0 -0
  75. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_transform.py +0 -0
  76. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_typing.py +0 -0
  77. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/_utils/_utils.py +0 -0
  78. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/lib/.keep +0 -0
  79. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/py.typed +0 -0
  80. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/__init__.py +0 -0
  81. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/__init__.py +0 -0
  82. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -0
  83. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -0
  84. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -0
  85. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/auth/__init__.py +0 -0
  86. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/auth/auth.py +0 -0
  87. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/auth/number_2fa.py +0 -0
  88. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/chat/__init__.py +0 -0
  89. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/chat/sessions.py +0 -0
  90. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/chat/test.py +0 -0
  91. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/embed/__init__.py +0 -0
  92. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/embed/component.py +0 -0
  93. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/embed/embed.py +0 -0
  94. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/folders.py +0 -0
  95. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/materials/__init__.py +0 -0
  96. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/materials/bulk.py +0 -0
  97. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/materials/materials.py +0 -0
  98. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/materials/test.py +0 -0
  99. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/materials/upload.py +0 -0
  100. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -0
  101. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -0
  102. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -0
  103. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -0
  104. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -0
  105. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/tests/__init__.py +0 -0
  106. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/tests/component.py +0 -0
  107. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/tests/tests.py +0 -0
  108. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/upload/__init__.py +0 -0
  109. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/upload/component.py +0 -0
  110. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/upload/upload.py +0 -0
  111. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/usage.py +0 -0
  112. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/resources/v1/v1.py +0 -0
  113. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/__init__.py +0 -0
  114. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/admin/__init__.py +0 -0
  115. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -0
  116. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -0
  117. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -0
  118. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/auth/__init__.py +0 -0
  119. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py +0 -0
  120. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/chat/__init__.py +0 -0
  121. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -0
  122. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/chat_retrieve_session_params.py +0 -0
  123. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/chat_stream_params.py +0 -0
  124. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_embed_response.py +0 -0
  125. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_list_params.py +0 -0
  126. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/component_update_params.py +0 -0
  127. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/embed/__init__.py +0 -0
  128. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/embed/component_interact_params.py +0 -0
  129. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/embed/component_retrieve_params.py +0 -0
  130. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/embed_get_theme_params.py +0 -0
  131. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/embed_verify_params.py +0 -0
  132. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -0
  133. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -0
  134. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py +0 -0
  135. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -0
  136. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -0
  137. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/folder_create_params.py +0 -0
  138. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/folder_list_params.py +0 -0
  139. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/folder_update_params.py +0 -0
  140. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_create_params.py +0 -0
  141. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_create_response.py +0 -0
  142. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_get_download_url_params.py +0 -0
  143. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_list_params.py +0 -0
  144. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_list_response.py +0 -0
  145. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/material_retrieve_response.py +0 -0
  146. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/materials/__init__.py +0 -0
  147. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +0 -0
  148. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -0
  149. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +0 -0
  150. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -0
  151. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/organizations/__init__.py +0 -0
  152. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -0
  153. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/organizations/profile/__init__.py +0 -0
  154. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/organizations/team/__init__.py +0 -0
  155. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/scenarios/__init__.py +0 -0
  156. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -0
  157. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/test_create_params.py +0 -0
  158. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/test_retake_params.py +0 -0
  159. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -0
  160. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/test_submit_params.py +0 -0
  161. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/tests/__init__.py +0 -0
  162. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/upload/__init__.py +0 -0
  163. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/usage_get_stats_params.py +0 -0
  164. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/usage_get_summary_params.py +0 -0
  165. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/src/studyfetch_sdk/types/v1/usage_list_events_params.py +0 -0
  166. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/__init__.py +0 -0
  167. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/__init__.py +0 -0
  168. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/__init__.py +0 -0
  169. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/audio_recaps/__init__.py +0 -0
  170. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/audio_recaps/test_sections.py +0 -0
  171. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/auth/__init__.py +0 -0
  172. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/auth/test_number_2fa.py +0 -0
  173. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/chat/__init__.py +0 -0
  174. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/chat/test_sessions.py +0 -0
  175. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/chat/test_test.py +0 -0
  176. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/embed/__init__.py +0 -0
  177. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/embed/test_component.py +0 -0
  178. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/materials/__init__.py +0 -0
  179. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/materials/test_bulk.py +0 -0
  180. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/materials/test_test.py +0 -0
  181. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/materials/test_upload.py +0 -0
  182. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/scenarios/__init__.py +0 -0
  183. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/scenarios/submissions/__init__.py +0 -0
  184. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/scenarios/submissions/test_user.py +0 -0
  185. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/scenarios/test_sessions.py +0 -0
  186. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_audio_recaps.py +0 -0
  187. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_auth.py +0 -0
  188. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_embed.py +0 -0
  189. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_folders.py +0 -0
  190. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_materials.py +0 -0
  191. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_tests.py +0 -0
  192. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/test_usage.py +0 -0
  193. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/tests/__init__.py +0 -0
  194. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/tests/test_component.py +0 -0
  195. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/upload/__init__.py +0 -0
  196. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/api_resources/v1/upload/test_component.py +0 -0
  197. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/conftest.py +0 -0
  198. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/sample_file.txt +0 -0
  199. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_client.py +0 -0
  200. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_deepcopy.py +0 -0
  201. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_extract_files.py +0 -0
  202. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_files.py +0 -0
  203. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_models.py +0 -0
  204. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_qs.py +0 -0
  205. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_required_args.py +0 -0
  206. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_response.py +0 -0
  207. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_streaming.py +0 -0
  208. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_transform.py +0 -0
  209. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_utils/test_proxy.py +0 -0
  210. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/test_utils/test_typing.py +0 -0
  211. {studyfetch_sdk-0.1.0a3 → studyfetch_sdk-0.1.0a5}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.0-alpha.5"
3
+ }
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.5 (2025-07-20)
4
+
5
+ Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([d8de024](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/d8de02409dc5c0027546d86391f382e8fff0b40f))
10
+ * **api:** api update ([6c6ed58](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/6c6ed585b134254c592300840bc4be4516f79c9f))
11
+
12
+ ## 0.1.0-alpha.4 (2025-07-19)
13
+
14
+ Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
15
+
16
+ ### Features
17
+
18
+ * **api:** api update ([481cfc3](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/481cfc3854d683aabcc8776410fbc7dce47f2f91))
19
+
3
20
  ## 0.1.0-alpha.3 (2025-07-18)
4
21
 
5
22
  Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: studyfetch_sdk
3
- Version: 0.1.0a3
3
+ Version: 0.1.0a5
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
@@ -218,14 +218,14 @@ Methods:
218
218
  - <code title="get /api/v1/scenarios">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">list</a>() -> None</code>
219
219
  - <code title="delete /api/v1/scenarios/{id}">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">delete</a>(id) -> None</code>
220
220
  - <code title="get /api/v1/scenarios/{id}/stats">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">get_stats</a>(id) -> None</code>
221
- - <code title="post /api/v1/scenarios/{id}/submit">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">submit</a>(id) -> None</code>
221
+ - <code title="post /api/v1/scenarios/{id}/submit">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">submit</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/scenario_submit_params.py">params</a>) -> None</code>
222
222
 
223
223
  ### Component
224
224
 
225
225
  Methods:
226
226
 
227
227
  - <code title="get /api/v1/scenarios/component/{componentId}">client.v1.scenarios.component.<a href="./src/studyfetch_sdk/resources/v1/scenarios/component.py">retrieve</a>(component_id) -> None</code>
228
- - <code title="put /api/v1/scenarios/component/{componentId}">client.v1.scenarios.component.<a href="./src/studyfetch_sdk/resources/v1/scenarios/component.py">update</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/scenarios/component_update_params.py">params</a>) -> None</code>
228
+ - <code title="put /api/v1/scenarios/component/{componentId}">client.v1.scenarios.component.<a href="./src/studyfetch_sdk/resources/v1/scenarios/component.py">update</a>(path_component_id, \*\*<a href="src/studyfetch_sdk/types/v1/scenarios/component_update_params.py">params</a>) -> None</code>
229
229
  - <code title="delete /api/v1/scenarios/component/{componentId}">client.v1.scenarios.component.<a href="./src/studyfetch_sdk/resources/v1/scenarios/component.py">delete</a>(component_id) -> None</code>
230
230
 
231
231
  ### Sessions
@@ -248,7 +248,7 @@ Methods:
248
248
 
249
249
  Methods:
250
250
 
251
- - <code title="post /api/v1/explainers/create">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">create</a>() -> None</code>
251
+ - <code title="post /api/v1/explainers/create">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/explainer_create_params.py">params</a>) -> None</code>
252
252
  - <code title="post /api/v1/explainers/webhook">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">handle_webhook</a>(\*\*<a href="src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py">params</a>) -> None</code>
253
253
 
254
254
  ## Upload
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "studyfetch_sdk"
3
- version = "0.1.0-alpha.3"
3
+ version = "0.1.0-alpha.5"
4
4
  description = "The official Python library for the studyfetch-sdk API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "studyfetch_sdk"
4
- __version__ = "0.1.0-alpha.3" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.5" # x-release-please-version
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Iterable
5
+ from typing import List, Iterable
6
6
 
7
7
  import httpx
8
8
 
@@ -148,7 +148,7 @@ class ChatResource(SyncAPIResource):
148
148
  message: chat_send_message_params.Message,
149
149
  x_component_id: str,
150
150
  context: object | NotGiven = NOT_GIVEN,
151
- group_id: str | NotGiven = NOT_GIVEN,
151
+ group_ids: List[str] | NotGiven = NOT_GIVEN,
152
152
  session_id: str | NotGiven = NOT_GIVEN,
153
153
  user_id: str | NotGiven = NOT_GIVEN,
154
154
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -166,7 +166,7 @@ class ChatResource(SyncAPIResource):
166
166
 
167
167
  context: Additional context data
168
168
 
169
- group_id: Group ID for collaboration
169
+ group_ids: Group IDs for collaboration
170
170
 
171
171
  session_id: Session ID for conversation continuity
172
172
 
@@ -189,7 +189,7 @@ class ChatResource(SyncAPIResource):
189
189
  "component_id": component_id,
190
190
  "message": message,
191
191
  "context": context,
192
- "group_id": group_id,
192
+ "group_ids": group_ids,
193
193
  "session_id": session_id,
194
194
  "user_id": user_id,
195
195
  },
@@ -360,7 +360,7 @@ class AsyncChatResource(AsyncAPIResource):
360
360
  message: chat_send_message_params.Message,
361
361
  x_component_id: str,
362
362
  context: object | NotGiven = NOT_GIVEN,
363
- group_id: str | NotGiven = NOT_GIVEN,
363
+ group_ids: List[str] | NotGiven = NOT_GIVEN,
364
364
  session_id: str | NotGiven = NOT_GIVEN,
365
365
  user_id: str | NotGiven = NOT_GIVEN,
366
366
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -378,7 +378,7 @@ class AsyncChatResource(AsyncAPIResource):
378
378
 
379
379
  context: Additional context data
380
380
 
381
- group_id: Group ID for collaboration
381
+ group_ids: Group IDs for collaboration
382
382
 
383
383
  session_id: Session ID for conversation continuity
384
384
 
@@ -401,7 +401,7 @@ class AsyncChatResource(AsyncAPIResource):
401
401
  "component_id": component_id,
402
402
  "message": message,
403
403
  "context": context,
404
- "group_id": group_id,
404
+ "group_ids": group_ids,
405
405
  "session_id": session_id,
406
406
  "user_id": user_id,
407
407
  },
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import List
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -50,7 +51,7 @@ class ComponentsResource(SyncAPIResource):
50
51
  def create(
51
52
  self,
52
53
  *,
53
- config: object,
54
+ config: component_create_params.Config,
54
55
  name: str,
55
56
  origin: Literal["chat", "classroom", "upload", "console", "api"],
56
57
  type: Literal[
@@ -322,7 +323,7 @@ class ComponentsResource(SyncAPIResource):
322
323
  *,
323
324
  expiry_hours: float | NotGiven = NOT_GIVEN,
324
325
  features: component_embed_params.Features | NotGiven = NOT_GIVEN,
325
- group_id: str | NotGiven = NOT_GIVEN,
326
+ group_ids: List[str] | NotGiven = NOT_GIVEN,
326
327
  height: str | NotGiven = NOT_GIVEN,
327
328
  session_id: str | NotGiven = NOT_GIVEN,
328
329
  theme: component_embed_params.Theme | NotGiven = NOT_GIVEN,
@@ -343,7 +344,7 @@ class ComponentsResource(SyncAPIResource):
343
344
 
344
345
  features: Feature toggles
345
346
 
346
- group_id: Group ID for collaboration
347
+ group_ids: Group IDs for collaboration
347
348
 
348
349
  height: Embed height (e.g., "400px", "100vh")
349
350
 
@@ -371,7 +372,7 @@ class ComponentsResource(SyncAPIResource):
371
372
  {
372
373
  "expiry_hours": expiry_hours,
373
374
  "features": features,
374
- "group_id": group_id,
375
+ "group_ids": group_ids,
375
376
  "height": height,
376
377
  "session_id": session_id,
377
378
  "theme": theme,
@@ -442,7 +443,7 @@ class AsyncComponentsResource(AsyncAPIResource):
442
443
  async def create(
443
444
  self,
444
445
  *,
445
- config: object,
446
+ config: component_create_params.Config,
446
447
  name: str,
447
448
  origin: Literal["chat", "classroom", "upload", "console", "api"],
448
449
  type: Literal[
@@ -714,7 +715,7 @@ class AsyncComponentsResource(AsyncAPIResource):
714
715
  *,
715
716
  expiry_hours: float | NotGiven = NOT_GIVEN,
716
717
  features: component_embed_params.Features | NotGiven = NOT_GIVEN,
717
- group_id: str | NotGiven = NOT_GIVEN,
718
+ group_ids: List[str] | NotGiven = NOT_GIVEN,
718
719
  height: str | NotGiven = NOT_GIVEN,
719
720
  session_id: str | NotGiven = NOT_GIVEN,
720
721
  theme: component_embed_params.Theme | NotGiven = NOT_GIVEN,
@@ -735,7 +736,7 @@ class AsyncComponentsResource(AsyncAPIResource):
735
736
 
736
737
  features: Feature toggles
737
738
 
738
- group_id: Group ID for collaboration
739
+ group_ids: Group IDs for collaboration
739
740
 
740
741
  height: Embed height (e.g., "400px", "100vh")
741
742
 
@@ -763,7 +764,7 @@ class AsyncComponentsResource(AsyncAPIResource):
763
764
  {
764
765
  "expiry_hours": expiry_hours,
765
766
  "features": features,
766
- "group_id": group_id,
767
+ "group_ids": group_ids,
767
768
  "height": height,
768
769
  "session_id": session_id,
769
770
  "theme": theme,
@@ -2,12 +2,15 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import List
6
+ from typing_extensions import Literal
7
+
5
8
  import httpx
6
9
 
7
10
  from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
8
11
  from ..._utils import maybe_transform, async_maybe_transform
9
12
  from ..._compat import cached_property
10
- from ...types.v1 import explainer_handle_webhook_params
13
+ from ...types.v1 import explainer_create_params, explainer_handle_webhook_params
11
14
  from ..._resource import SyncAPIResource, AsyncAPIResource
12
15
  from ..._response import (
13
16
  to_raw_response_wrapper,
@@ -43,6 +46,17 @@ class ExplainersResource(SyncAPIResource):
43
46
  def create(
44
47
  self,
45
48
  *,
49
+ component_id: str,
50
+ folder_ids: List[str],
51
+ material_ids: List[str],
52
+ target_length: float,
53
+ title: str,
54
+ image_search: bool | NotGiven = NOT_GIVEN,
55
+ model: str | NotGiven = NOT_GIVEN,
56
+ style: str | NotGiven = NOT_GIVEN,
57
+ user_id: str | NotGiven = NOT_GIVEN,
58
+ vertical_video: bool | NotGiven = NOT_GIVEN,
59
+ web_search: bool | NotGiven = NOT_GIVEN,
46
60
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
47
61
  # The extra values given here take precedence over values defined on the client or passed to this method.
48
62
  extra_headers: Headers | None = None,
@@ -50,10 +64,59 @@ class ExplainersResource(SyncAPIResource):
50
64
  extra_body: Body | None = None,
51
65
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
52
66
  ) -> None:
53
- """Create explainers component"""
67
+ """
68
+ Create explainers component
69
+
70
+ Args:
71
+ component_id: Component ID
72
+
73
+ folder_ids: Folder IDs to include
74
+
75
+ material_ids: Material IDs to include
76
+
77
+ target_length: Target video length in seconds
78
+
79
+ title: Title for the explainer video
80
+
81
+ image_search: Enable image search for visuals
82
+
83
+ model: AI model to use
84
+
85
+ style: Video style
86
+
87
+ user_id: User ID
88
+
89
+ vertical_video: Create vertical video format (9:16)
90
+
91
+ web_search: Enable web search for additional content
92
+
93
+ extra_headers: Send extra headers
94
+
95
+ extra_query: Add additional query parameters to the request
96
+
97
+ extra_body: Add additional JSON properties to the request
98
+
99
+ timeout: Override the client-level default timeout for this request, in seconds
100
+ """
54
101
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
55
102
  return self._post(
56
103
  "/api/v1/explainers/create",
104
+ body=maybe_transform(
105
+ {
106
+ "component_id": component_id,
107
+ "folder_ids": folder_ids,
108
+ "material_ids": material_ids,
109
+ "target_length": target_length,
110
+ "title": title,
111
+ "image_search": image_search,
112
+ "model": model,
113
+ "style": style,
114
+ "user_id": user_id,
115
+ "vertical_video": vertical_video,
116
+ "web_search": web_search,
117
+ },
118
+ explainer_create_params.ExplainerCreateParams,
119
+ ),
57
120
  options=make_request_options(
58
121
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
59
122
  ),
@@ -63,7 +126,8 @@ class ExplainersResource(SyncAPIResource):
63
126
  def handle_webhook(
64
127
  self,
65
128
  *,
66
- body: str,
129
+ event: Literal["video.completed", "video.progress", "video.failed"],
130
+ video: explainer_handle_webhook_params.Video,
67
131
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
68
132
  # The extra values given here take precedence over values defined on the client or passed to this method.
69
133
  extra_headers: Headers | None = None,
@@ -72,9 +136,13 @@ class ExplainersResource(SyncAPIResource):
72
136
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
73
137
  ) -> None:
74
138
  """
75
- Handle webhook events
139
+ Handle explainer video webhook events
76
140
 
77
141
  Args:
142
+ event: Webhook event type
143
+
144
+ video: Video data
145
+
78
146
  extra_headers: Send extra headers
79
147
 
80
148
  extra_query: Add additional query parameters to the request
@@ -86,7 +154,13 @@ class ExplainersResource(SyncAPIResource):
86
154
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
87
155
  return self._post(
88
156
  "/api/v1/explainers/webhook",
89
- body=maybe_transform(body, explainer_handle_webhook_params.ExplainerHandleWebhookParams),
157
+ body=maybe_transform(
158
+ {
159
+ "event": event,
160
+ "video": video,
161
+ },
162
+ explainer_handle_webhook_params.ExplainerHandleWebhookParams,
163
+ ),
90
164
  options=make_request_options(
91
165
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
92
166
  ),
@@ -117,6 +191,17 @@ class AsyncExplainersResource(AsyncAPIResource):
117
191
  async def create(
118
192
  self,
119
193
  *,
194
+ component_id: str,
195
+ folder_ids: List[str],
196
+ material_ids: List[str],
197
+ target_length: float,
198
+ title: str,
199
+ image_search: bool | NotGiven = NOT_GIVEN,
200
+ model: str | NotGiven = NOT_GIVEN,
201
+ style: str | NotGiven = NOT_GIVEN,
202
+ user_id: str | NotGiven = NOT_GIVEN,
203
+ vertical_video: bool | NotGiven = NOT_GIVEN,
204
+ web_search: bool | NotGiven = NOT_GIVEN,
120
205
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
121
206
  # The extra values given here take precedence over values defined on the client or passed to this method.
122
207
  extra_headers: Headers | None = None,
@@ -124,10 +209,59 @@ class AsyncExplainersResource(AsyncAPIResource):
124
209
  extra_body: Body | None = None,
125
210
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
126
211
  ) -> None:
127
- """Create explainers component"""
212
+ """
213
+ Create explainers component
214
+
215
+ Args:
216
+ component_id: Component ID
217
+
218
+ folder_ids: Folder IDs to include
219
+
220
+ material_ids: Material IDs to include
221
+
222
+ target_length: Target video length in seconds
223
+
224
+ title: Title for the explainer video
225
+
226
+ image_search: Enable image search for visuals
227
+
228
+ model: AI model to use
229
+
230
+ style: Video style
231
+
232
+ user_id: User ID
233
+
234
+ vertical_video: Create vertical video format (9:16)
235
+
236
+ web_search: Enable web search for additional content
237
+
238
+ extra_headers: Send extra headers
239
+
240
+ extra_query: Add additional query parameters to the request
241
+
242
+ extra_body: Add additional JSON properties to the request
243
+
244
+ timeout: Override the client-level default timeout for this request, in seconds
245
+ """
128
246
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
129
247
  return await self._post(
130
248
  "/api/v1/explainers/create",
249
+ body=await async_maybe_transform(
250
+ {
251
+ "component_id": component_id,
252
+ "folder_ids": folder_ids,
253
+ "material_ids": material_ids,
254
+ "target_length": target_length,
255
+ "title": title,
256
+ "image_search": image_search,
257
+ "model": model,
258
+ "style": style,
259
+ "user_id": user_id,
260
+ "vertical_video": vertical_video,
261
+ "web_search": web_search,
262
+ },
263
+ explainer_create_params.ExplainerCreateParams,
264
+ ),
131
265
  options=make_request_options(
132
266
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
133
267
  ),
@@ -137,7 +271,8 @@ class AsyncExplainersResource(AsyncAPIResource):
137
271
  async def handle_webhook(
138
272
  self,
139
273
  *,
140
- body: str,
274
+ event: Literal["video.completed", "video.progress", "video.failed"],
275
+ video: explainer_handle_webhook_params.Video,
141
276
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
142
277
  # The extra values given here take precedence over values defined on the client or passed to this method.
143
278
  extra_headers: Headers | None = None,
@@ -146,9 +281,13 @@ class AsyncExplainersResource(AsyncAPIResource):
146
281
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
147
282
  ) -> None:
148
283
  """
149
- Handle webhook events
284
+ Handle explainer video webhook events
150
285
 
151
286
  Args:
287
+ event: Webhook event type
288
+
289
+ video: Video data
290
+
152
291
  extra_headers: Send extra headers
153
292
 
154
293
  extra_query: Add additional query parameters to the request
@@ -160,7 +299,13 @@ class AsyncExplainersResource(AsyncAPIResource):
160
299
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
161
300
  return await self._post(
162
301
  "/api/v1/explainers/webhook",
163
- body=await async_maybe_transform(body, explainer_handle_webhook_params.ExplainerHandleWebhookParams),
302
+ body=await async_maybe_transform(
303
+ {
304
+ "event": event,
305
+ "video": video,
306
+ },
307
+ explainer_handle_webhook_params.ExplainerHandleWebhookParams,
308
+ ),
164
309
  options=make_request_options(
165
310
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
166
311
  ),
@@ -122,7 +122,7 @@ class FlashcardsResource(SyncAPIResource):
122
122
  self,
123
123
  component_id: str,
124
124
  *,
125
- group_id: str | NotGiven = NOT_GIVEN,
125
+ group_ids: str | NotGiven = NOT_GIVEN,
126
126
  limit: float | NotGiven = NOT_GIVEN,
127
127
  offset: float | NotGiven = NOT_GIVEN,
128
128
  user_id: str | NotGiven = NOT_GIVEN,
@@ -137,7 +137,7 @@ class FlashcardsResource(SyncAPIResource):
137
137
  Get all flashcards for component
138
138
 
139
139
  Args:
140
- group_id: Group ID
140
+ group_ids: Group IDs (comma-separated)
141
141
 
142
142
  limit: Max number of cards
143
143
 
@@ -165,7 +165,7 @@ class FlashcardsResource(SyncAPIResource):
165
165
  timeout=timeout,
166
166
  query=maybe_transform(
167
167
  {
168
- "group_id": group_id,
168
+ "group_ids": group_ids,
169
169
  "limit": limit,
170
170
  "offset": offset,
171
171
  "user_id": user_id,
@@ -180,7 +180,7 @@ class FlashcardsResource(SyncAPIResource):
180
180
  self,
181
181
  component_id: str,
182
182
  *,
183
- group_id: str,
183
+ group_ids: str,
184
184
  limit: float | NotGiven = NOT_GIVEN,
185
185
  user_id: str | NotGiven = NOT_GIVEN,
186
186
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -218,7 +218,7 @@ class FlashcardsResource(SyncAPIResource):
218
218
  timeout=timeout,
219
219
  query=maybe_transform(
220
220
  {
221
- "group_id": group_id,
221
+ "group_ids": group_ids,
222
222
  "limit": limit,
223
223
  "user_id": user_id,
224
224
  },
@@ -232,7 +232,7 @@ class FlashcardsResource(SyncAPIResource):
232
232
  self,
233
233
  component_id: str,
234
234
  *,
235
- group_id: str | NotGiven = NOT_GIVEN,
235
+ group_ids: str | NotGiven = NOT_GIVEN,
236
236
  user_id: str | NotGiven = NOT_GIVEN,
237
237
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
238
238
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -245,7 +245,7 @@ class FlashcardsResource(SyncAPIResource):
245
245
  Get flashcard statistics
246
246
 
247
247
  Args:
248
- group_id: Group ID
248
+ group_ids: Group IDs (comma-separated)
249
249
 
250
250
  user_id: User ID
251
251
 
@@ -269,7 +269,7 @@ class FlashcardsResource(SyncAPIResource):
269
269
  timeout=timeout,
270
270
  query=maybe_transform(
271
271
  {
272
- "group_id": group_id,
272
+ "group_ids": group_ids,
273
273
  "user_id": user_id,
274
274
  },
275
275
  flashcard_get_stats_params.FlashcardGetStatsParams,
@@ -444,7 +444,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
444
444
  self,
445
445
  component_id: str,
446
446
  *,
447
- group_id: str | NotGiven = NOT_GIVEN,
447
+ group_ids: str | NotGiven = NOT_GIVEN,
448
448
  limit: float | NotGiven = NOT_GIVEN,
449
449
  offset: float | NotGiven = NOT_GIVEN,
450
450
  user_id: str | NotGiven = NOT_GIVEN,
@@ -459,7 +459,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
459
459
  Get all flashcards for component
460
460
 
461
461
  Args:
462
- group_id: Group ID
462
+ group_ids: Group IDs (comma-separated)
463
463
 
464
464
  limit: Max number of cards
465
465
 
@@ -487,7 +487,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
487
487
  timeout=timeout,
488
488
  query=await async_maybe_transform(
489
489
  {
490
- "group_id": group_id,
490
+ "group_ids": group_ids,
491
491
  "limit": limit,
492
492
  "offset": offset,
493
493
  "user_id": user_id,
@@ -502,7 +502,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
502
502
  self,
503
503
  component_id: str,
504
504
  *,
505
- group_id: str,
505
+ group_ids: str,
506
506
  limit: float | NotGiven = NOT_GIVEN,
507
507
  user_id: str | NotGiven = NOT_GIVEN,
508
508
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -540,7 +540,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
540
540
  timeout=timeout,
541
541
  query=await async_maybe_transform(
542
542
  {
543
- "group_id": group_id,
543
+ "group_ids": group_ids,
544
544
  "limit": limit,
545
545
  "user_id": user_id,
546
546
  },
@@ -554,7 +554,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
554
554
  self,
555
555
  component_id: str,
556
556
  *,
557
- group_id: str | NotGiven = NOT_GIVEN,
557
+ group_ids: str | NotGiven = NOT_GIVEN,
558
558
  user_id: str | NotGiven = NOT_GIVEN,
559
559
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
560
560
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -567,7 +567,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
567
567
  Get flashcard statistics
568
568
 
569
569
  Args:
570
- group_id: Group ID
570
+ group_ids: Group IDs (comma-separated)
571
571
 
572
572
  user_id: User ID
573
573
 
@@ -591,7 +591,7 @@ class AsyncFlashcardsResource(AsyncAPIResource):
591
591
  timeout=timeout,
592
592
  query=await async_maybe_transform(
593
593
  {
594
- "group_id": group_id,
594
+ "group_ids": group_ids,
595
595
  "user_id": user_id,
596
596
  },
597
597
  flashcard_get_stats_params.FlashcardGetStatsParams,