studyfetch-sdk 0.1.0a2__py3-none-any.whl → 0.1.0a4__py3-none-any.whl

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 (54) hide show
  1. studyfetch_sdk/_version.py +1 -1
  2. studyfetch_sdk/resources/v1/__init__.py +0 -14
  3. studyfetch_sdk/resources/v1/auth/__init__.py +0 -28
  4. studyfetch_sdk/resources/v1/auth/auth.py +0 -504
  5. studyfetch_sdk/resources/v1/auth/number_2fa.py +1 -294
  6. studyfetch_sdk/resources/v1/chat/chat.py +7 -7
  7. studyfetch_sdk/resources/v1/components.py +9 -8
  8. studyfetch_sdk/resources/v1/flashcards.py +16 -16
  9. studyfetch_sdk/resources/v1/usage.py +1 -593
  10. studyfetch_sdk/resources/v1/v1.py +0 -32
  11. studyfetch_sdk/types/v1/__init__.py +0 -5
  12. studyfetch_sdk/types/v1/auth/__init__.py +0 -8
  13. studyfetch_sdk/types/v1/chat_send_message_params.py +3 -3
  14. studyfetch_sdk/types/v1/component_create_params.py +295 -3
  15. studyfetch_sdk/types/v1/component_create_response.py +3 -1
  16. studyfetch_sdk/types/v1/component_embed_params.py +3 -2
  17. studyfetch_sdk/types/v1/component_list_response.py +3 -1
  18. studyfetch_sdk/types/v1/component_retrieve_response.py +3 -1
  19. studyfetch_sdk/types/v1/component_update_response.py +3 -1
  20. studyfetch_sdk/types/v1/flashcard_get_all_params.py +2 -2
  21. studyfetch_sdk/types/v1/flashcard_get_due_params.py +1 -1
  22. studyfetch_sdk/types/v1/flashcard_get_stats_params.py +2 -2
  23. {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/METADATA +11 -35
  24. {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/RECORD +26 -54
  25. studyfetch_sdk/resources/v1/auth/login.py +0 -374
  26. studyfetch_sdk/resources/v1/auth/organization_invites.py +0 -160
  27. studyfetch_sdk/resources/v1/organizations/__init__.py +0 -103
  28. studyfetch_sdk/resources/v1/organizations/api_keys.py +0 -260
  29. studyfetch_sdk/resources/v1/organizations/logo/__init__.py +0 -33
  30. studyfetch_sdk/resources/v1/organizations/logo/logo.py +0 -166
  31. studyfetch_sdk/resources/v1/organizations/logo/upload.py +0 -184
  32. studyfetch_sdk/resources/v1/organizations/organizations.py +0 -428
  33. studyfetch_sdk/resources/v1/organizations/profile/__init__.py +0 -47
  34. studyfetch_sdk/resources/v1/organizations/profile/models.py +0 -134
  35. studyfetch_sdk/resources/v1/organizations/profile/profile.py +0 -248
  36. studyfetch_sdk/resources/v1/organizations/profile/team.py +0 -462
  37. studyfetch_sdk/resources/v1/organizations/team/__init__.py +0 -33
  38. studyfetch_sdk/resources/v1/organizations/team/invite.py +0 -236
  39. studyfetch_sdk/resources/v1/organizations/team/team.py +0 -564
  40. studyfetch_sdk/resources/v1/organizations/theme.py +0 -184
  41. studyfetch_sdk/resources/v1/organizations/usage.py +0 -210
  42. studyfetch_sdk/types/v1/auth/login_authenticate_params.py +0 -15
  43. studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py +0 -15
  44. studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py +0 -17
  45. studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py +0 -12
  46. studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py +0 -12
  47. studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py +0 -12
  48. studyfetch_sdk/types/v1/auth_register_new_user_params.py +0 -23
  49. studyfetch_sdk/types/v1/auth_request_password_reset_params.py +0 -12
  50. studyfetch_sdk/types/v1/auth_reset_password_params.py +0 -17
  51. studyfetch_sdk/types/v1/usage_track_chat_params.py +0 -54
  52. studyfetch_sdk/types/v1/usage_track_event_params.py +0 -128
  53. {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/WHEEL +0 -0
  54. {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/licenses/LICENSE +0 -0
@@ -1,128 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Literal, Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["UsageTrackEventParams"]
10
-
11
-
12
- class UsageTrackEventParams(TypedDict, total=False):
13
- event_type: Required[
14
- Annotated[
15
- Literal[
16
- "material_created",
17
- "material_uploaded",
18
- "material_processed",
19
- "material_deleted",
20
- "component_created",
21
- "component_accessed",
22
- "component_deleted",
23
- "component_usage",
24
- "chat_message_sent",
25
- "chat_session_started",
26
- "chat_session_ended",
27
- "test_created",
28
- "test_started",
29
- "test_completed",
30
- "test_question_answered",
31
- "test_retaken",
32
- "audio_recap_create",
33
- "api_call",
34
- "cache_hit",
35
- "sso_login",
36
- "sso_logout",
37
- "student_performance",
38
- ],
39
- PropertyInfo(alias="eventType"),
40
- ]
41
- ]
42
- """Type of usage event"""
43
-
44
- cache_hit: Annotated[bool, PropertyInfo(alias="cacheHit")]
45
- """Whether response was served from cache"""
46
-
47
- component_name: Annotated[str, PropertyInfo(alias="componentName")]
48
- """Component name"""
49
-
50
- component_type: Annotated[str, PropertyInfo(alias="componentType")]
51
- """Component type"""
52
-
53
- content_size: Annotated[float, PropertyInfo(alias="contentSize")]
54
- """Size of content in bytes"""
55
-
56
- endpoint: str
57
- """API endpoint accessed"""
58
-
59
- file_size: Annotated[float, PropertyInfo(alias="fileSize")]
60
- """File size in bytes"""
61
-
62
- file_type: Annotated[str, PropertyInfo(alias="fileType")]
63
- """File MIME type"""
64
-
65
- group_id: Annotated[str, PropertyInfo(alias="groupId")]
66
- """Group ID for collaborative sessions"""
67
-
68
- input_tokens: Annotated[float, PropertyInfo(alias="inputTokens")]
69
- """Number of input tokens"""
70
-
71
- ip_address: Annotated[str, PropertyInfo(alias="ipAddress")]
72
- """Client IP address"""
73
-
74
- metadata: object
75
- """Additional metadata"""
76
-
77
- method: str
78
- """HTTP method used"""
79
-
80
- model: Literal[
81
- "openai:gpt-4.1",
82
- "openai:gpt-4o",
83
- "openai:gpt-4o-mini",
84
- "openai:gpt-4",
85
- "openai:gpt-3.5-turbo",
86
- "openai:o1",
87
- "openai:o1-mini",
88
- "openai:o3-mini",
89
- "anthropic:claude-3-opus",
90
- "anthropic:claude-3-sonnet",
91
- "anthropic:claude-3-haiku",
92
- "google:gemini-pro",
93
- "meta:llama-3",
94
- ]
95
- """AI model used"""
96
-
97
- output_tokens: Annotated[float, PropertyInfo(alias="outputTokens")]
98
- """Number of output tokens"""
99
-
100
- performance_data: Annotated[object, PropertyInfo(alias="performanceData")]
101
- """Performance metrics data"""
102
-
103
- reasoning_tokens: Annotated[float, PropertyInfo(alias="reasoningTokens")]
104
- """Number of reasoning tokens"""
105
-
106
- resource_id: Annotated[str, PropertyInfo(alias="resourceId")]
107
- """Resource ID being accessed"""
108
-
109
- resource_type: Annotated[str, PropertyInfo(alias="resourceType")]
110
- """Type of resource"""
111
-
112
- response_time: Annotated[float, PropertyInfo(alias="responseTime")]
113
- """Response time in milliseconds"""
114
-
115
- session_id: Annotated[str, PropertyInfo(alias="sessionId")]
116
- """Session ID"""
117
-
118
- status_code: Annotated[float, PropertyInfo(alias="statusCode")]
119
- """HTTP status code"""
120
-
121
- total_tokens: Annotated[float, PropertyInfo(alias="totalTokens")]
122
- """Total number of tokens"""
123
-
124
- user_agent: Annotated[str, PropertyInfo(alias="userAgent")]
125
- """Client user agent"""
126
-
127
- user_id: Annotated[str, PropertyInfo(alias="userId")]
128
- """User ID"""