studyfetch-sdk 0.1.0a20__py3-none-any.whl → 0.1.0a21__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 (28) hide show
  1. studyfetch_sdk/_version.py +1 -1
  2. studyfetch_sdk/resources/v1/__init__.py +14 -14
  3. studyfetch_sdk/resources/v1/chat.py +246 -0
  4. studyfetch_sdk/resources/v1/materials/materials.py +304 -0
  5. studyfetch_sdk/resources/v1/materials/upload.py +6 -14
  6. studyfetch_sdk/resources/v1/v1.py +32 -32
  7. studyfetch_sdk/types/v1/__init__.py +4 -0
  8. studyfetch_sdk/types/v1/chat_stream_params.py +60 -0
  9. studyfetch_sdk/types/v1/generated_material.py +65 -0
  10. studyfetch_sdk/types/v1/material_generate_and_process_params.py +38 -0
  11. studyfetch_sdk/types/v1/material_generate_params.py +32 -0
  12. studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py +2 -5
  13. studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +1 -1
  14. {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/METADATA +1 -1
  15. {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/RECORD +17 -23
  16. studyfetch_sdk/resources/v1/upload/__init__.py +0 -33
  17. studyfetch_sdk/resources/v1/upload/component.py +0 -572
  18. studyfetch_sdk/resources/v1/upload/upload.py +0 -102
  19. studyfetch_sdk/types/v1/upload/__init__.py +0 -11
  20. studyfetch_sdk/types/v1/upload/component_complete_upload_params.py +0 -20
  21. studyfetch_sdk/types/v1/upload/component_complete_upload_response.py +0 -16
  22. studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py +0 -23
  23. studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py +0 -15
  24. studyfetch_sdk/types/v1/upload/component_upload_file_params.py +0 -21
  25. studyfetch_sdk/types/v1/upload/component_upload_url_params.py +0 -23
  26. studyfetch_sdk/types/v1/upload/file_upload_response.py +0 -24
  27. {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/WHEEL +0 -0
  28. {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/licenses/LICENSE +0 -0
@@ -55,7 +55,6 @@ class UploadResource(SyncAPIResource):
55
55
  self,
56
56
  *,
57
57
  material_id: str,
58
- organization_id: str,
59
58
  s3_key: str,
60
59
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
61
60
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -68,11 +67,9 @@ class UploadResource(SyncAPIResource):
68
67
  Complete upload after using presigned URL
69
68
 
70
69
  Args:
71
- material_id: The ID of the material that was uploaded
70
+ material_id: Material ID from presigned URL response
72
71
 
73
- organization_id: The ID of the organization
74
-
75
- s3_key: The S3 key of the uploaded file
72
+ s3_key: S3 key from presigned URL response
76
73
 
77
74
  extra_headers: Send extra headers
78
75
 
@@ -87,7 +84,6 @@ class UploadResource(SyncAPIResource):
87
84
  body=maybe_transform(
88
85
  {
89
86
  "material_id": material_id,
90
- "organization_id": organization_id,
91
87
  "s3_key": s3_key,
92
88
  },
93
89
  upload_complete_upload_params.UploadCompleteUploadParams,
@@ -238,7 +234,7 @@ class UploadResource(SyncAPIResource):
238
234
 
239
235
  poll_interval_ms: Polling interval in milliseconds (default: 2000)
240
236
 
241
- timeout_ms: Processing timeout in milliseconds (default: 300000)
237
+ timeout_ms: Processing timeout in milliseconds (default: 300000 - 5 minutes)
242
238
 
243
239
  extra_headers: Send extra headers
244
240
 
@@ -401,7 +397,6 @@ class AsyncUploadResource(AsyncAPIResource):
401
397
  self,
402
398
  *,
403
399
  material_id: str,
404
- organization_id: str,
405
400
  s3_key: str,
406
401
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
407
402
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -414,11 +409,9 @@ class AsyncUploadResource(AsyncAPIResource):
414
409
  Complete upload after using presigned URL
415
410
 
416
411
  Args:
417
- material_id: The ID of the material that was uploaded
418
-
419
- organization_id: The ID of the organization
412
+ material_id: Material ID from presigned URL response
420
413
 
421
- s3_key: The S3 key of the uploaded file
414
+ s3_key: S3 key from presigned URL response
422
415
 
423
416
  extra_headers: Send extra headers
424
417
 
@@ -433,7 +426,6 @@ class AsyncUploadResource(AsyncAPIResource):
433
426
  body=await async_maybe_transform(
434
427
  {
435
428
  "material_id": material_id,
436
- "organization_id": organization_id,
437
429
  "s3_key": s3_key,
438
430
  },
439
431
  upload_complete_upload_params.UploadCompleteUploadParams,
@@ -584,7 +576,7 @@ class AsyncUploadResource(AsyncAPIResource):
584
576
 
585
577
  poll_interval_ms: Polling interval in milliseconds (default: 2000)
586
578
 
587
- timeout_ms: Processing timeout in milliseconds (default: 300000)
579
+ timeout_ms: Processing timeout in milliseconds (default: 300000 - 5 minutes)
588
580
 
589
581
  extra_headers: Send extra headers
590
582
 
@@ -4,6 +4,14 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
+ from .chat import (
8
+ ChatResource,
9
+ AsyncChatResource,
10
+ ChatResourceWithRawResponse,
11
+ AsyncChatResourceWithRawResponse,
12
+ ChatResourceWithStreamingResponse,
13
+ AsyncChatResourceWithStreamingResponse,
14
+ )
7
15
  from .folders import (
8
16
  FoldersResource,
9
17
  AsyncFoldersResource,
@@ -45,14 +53,6 @@ from .usage.usage import (
45
53
  UsageResourceWithStreamingResponse,
46
54
  AsyncUsageResourceWithStreamingResponse,
47
55
  )
48
- from .upload.upload import (
49
- UploadResource,
50
- AsyncUploadResource,
51
- UploadResourceWithRawResponse,
52
- AsyncUploadResourceWithRawResponse,
53
- UploadResourceWithStreamingResponse,
54
- AsyncUploadResourceWithStreamingResponse,
55
- )
56
56
  from ..._base_client import make_request_options
57
57
  from .assignment_grader import (
58
58
  AssignmentGraderResource,
@@ -95,14 +95,14 @@ class V1Resource(SyncAPIResource):
95
95
  def embed(self) -> EmbedResource:
96
96
  return EmbedResource(self._client)
97
97
 
98
- @cached_property
99
- def upload(self) -> UploadResource:
100
- return UploadResource(self._client)
101
-
102
98
  @cached_property
103
99
  def assignment_grader(self) -> AssignmentGraderResource:
104
100
  return AssignmentGraderResource(self._client)
105
101
 
102
+ @cached_property
103
+ def chat(self) -> ChatResource:
104
+ return ChatResource(self._client)
105
+
106
106
  @cached_property
107
107
  def with_raw_response(self) -> V1ResourceWithRawResponse:
108
108
  """
@@ -164,14 +164,14 @@ class AsyncV1Resource(AsyncAPIResource):
164
164
  def embed(self) -> AsyncEmbedResource:
165
165
  return AsyncEmbedResource(self._client)
166
166
 
167
- @cached_property
168
- def upload(self) -> AsyncUploadResource:
169
- return AsyncUploadResource(self._client)
170
-
171
167
  @cached_property
172
168
  def assignment_grader(self) -> AsyncAssignmentGraderResource:
173
169
  return AsyncAssignmentGraderResource(self._client)
174
170
 
171
+ @cached_property
172
+ def chat(self) -> AsyncChatResource:
173
+ return AsyncChatResource(self._client)
174
+
175
175
  @cached_property
176
176
  def with_raw_response(self) -> AsyncV1ResourceWithRawResponse:
177
177
  """
@@ -240,14 +240,14 @@ class V1ResourceWithRawResponse:
240
240
  def embed(self) -> EmbedResourceWithRawResponse:
241
241
  return EmbedResourceWithRawResponse(self._v1.embed)
242
242
 
243
- @cached_property
244
- def upload(self) -> UploadResourceWithRawResponse:
245
- return UploadResourceWithRawResponse(self._v1.upload)
246
-
247
243
  @cached_property
248
244
  def assignment_grader(self) -> AssignmentGraderResourceWithRawResponse:
249
245
  return AssignmentGraderResourceWithRawResponse(self._v1.assignment_grader)
250
246
 
247
+ @cached_property
248
+ def chat(self) -> ChatResourceWithRawResponse:
249
+ return ChatResourceWithRawResponse(self._v1.chat)
250
+
251
251
 
252
252
  class AsyncV1ResourceWithRawResponse:
253
253
  def __init__(self, v1: AsyncV1Resource) -> None:
@@ -277,14 +277,14 @@ class AsyncV1ResourceWithRawResponse:
277
277
  def embed(self) -> AsyncEmbedResourceWithRawResponse:
278
278
  return AsyncEmbedResourceWithRawResponse(self._v1.embed)
279
279
 
280
- @cached_property
281
- def upload(self) -> AsyncUploadResourceWithRawResponse:
282
- return AsyncUploadResourceWithRawResponse(self._v1.upload)
283
-
284
280
  @cached_property
285
281
  def assignment_grader(self) -> AsyncAssignmentGraderResourceWithRawResponse:
286
282
  return AsyncAssignmentGraderResourceWithRawResponse(self._v1.assignment_grader)
287
283
 
284
+ @cached_property
285
+ def chat(self) -> AsyncChatResourceWithRawResponse:
286
+ return AsyncChatResourceWithRawResponse(self._v1.chat)
287
+
288
288
 
289
289
  class V1ResourceWithStreamingResponse:
290
290
  def __init__(self, v1: V1Resource) -> None:
@@ -314,14 +314,14 @@ class V1ResourceWithStreamingResponse:
314
314
  def embed(self) -> EmbedResourceWithStreamingResponse:
315
315
  return EmbedResourceWithStreamingResponse(self._v1.embed)
316
316
 
317
- @cached_property
318
- def upload(self) -> UploadResourceWithStreamingResponse:
319
- return UploadResourceWithStreamingResponse(self._v1.upload)
320
-
321
317
  @cached_property
322
318
  def assignment_grader(self) -> AssignmentGraderResourceWithStreamingResponse:
323
319
  return AssignmentGraderResourceWithStreamingResponse(self._v1.assignment_grader)
324
320
 
321
+ @cached_property
322
+ def chat(self) -> ChatResourceWithStreamingResponse:
323
+ return ChatResourceWithStreamingResponse(self._v1.chat)
324
+
325
325
 
326
326
  class AsyncV1ResourceWithStreamingResponse:
327
327
  def __init__(self, v1: AsyncV1Resource) -> None:
@@ -351,10 +351,10 @@ class AsyncV1ResourceWithStreamingResponse:
351
351
  def embed(self) -> AsyncEmbedResourceWithStreamingResponse:
352
352
  return AsyncEmbedResourceWithStreamingResponse(self._v1.embed)
353
353
 
354
- @cached_property
355
- def upload(self) -> AsyncUploadResourceWithStreamingResponse:
356
- return AsyncUploadResourceWithStreamingResponse(self._v1.upload)
357
-
358
354
  @cached_property
359
355
  def assignment_grader(self) -> AsyncAssignmentGraderResourceWithStreamingResponse:
360
356
  return AsyncAssignmentGraderResourceWithStreamingResponse(self._v1.assignment_grader)
357
+
358
+ @cached_property
359
+ def chat(self) -> AsyncChatResourceWithStreamingResponse:
360
+ return AsyncChatResourceWithStreamingResponse(self._v1.chat)
@@ -5,7 +5,9 @@ from __future__ import annotations
5
5
  from .material import Material as Material
6
6
  from .component import Component as Component
7
7
  from .content_param import ContentParam as ContentParam
8
+ from .chat_stream_params import ChatStreamParams as ChatStreamParams
8
9
  from .folder_list_params import FolderListParams as FolderListParams
10
+ from .generated_material import GeneratedMaterial as GeneratedMaterial
9
11
  from .embed_verify_params import EmbedVerifyParams as EmbedVerifyParams
10
12
  from .folder_create_params import FolderCreateParams as FolderCreateParams
11
13
  from .folder_update_params import FolderUpdateParams as FolderUpdateParams
@@ -22,6 +24,7 @@ from .component_create_params import ComponentCreateParams as ComponentCreatePar
22
24
  from .component_list_response import ComponentListResponse as ComponentListResponse
23
25
  from .component_update_params import ComponentUpdateParams as ComponentUpdateParams
24
26
  from .material_debug_response import MaterialDebugResponse as MaterialDebugResponse
27
+ from .material_generate_params import MaterialGenerateParams as MaterialGenerateParams
25
28
  from .material_search_response import MaterialSearchResponse as MaterialSearchResponse
26
29
  from .usage_get_summary_params import UsageGetSummaryParams as UsageGetSummaryParams
27
30
  from .usage_list_events_params import UsageListEventsParams as UsageListEventsParams
@@ -35,3 +38,4 @@ from .component_generate_embed_response import ComponentGenerateEmbedResponse as
35
38
  from .assignment_grader_get_all_response import AssignmentGraderGetAllResponse as AssignmentGraderGetAllResponse
36
39
  from .material_create_and_process_params import MaterialCreateAndProcessParams as MaterialCreateAndProcessParams
37
40
  from .material_get_download_url_response import MaterialGetDownloadURLResponse as MaterialGetDownloadURLResponse
41
+ from .material_generate_and_process_params import MaterialGenerateAndProcessParams as MaterialGenerateAndProcessParams
@@ -0,0 +1,60 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Iterable
6
+ from typing_extensions import Annotated, TypedDict
7
+
8
+ from ..._utils import PropertyInfo
9
+
10
+ __all__ = ["ChatStreamParams", "Message", "MessageImage"]
11
+
12
+
13
+ class ChatStreamParams(TypedDict, total=False):
14
+ id: str
15
+ """Session ID (AI SDK uses "id")"""
16
+
17
+ component_id: Annotated[str, PropertyInfo(alias="componentId")]
18
+ """Component ID"""
19
+
20
+ context: object
21
+ """Additional context"""
22
+
23
+ group_ids: Annotated[List[str], PropertyInfo(alias="groupIds")]
24
+ """Group IDs for access control"""
25
+
26
+ message: Message
27
+ """Single message for custom format - contains text and optional images"""
28
+
29
+ messages: List[str]
30
+ """Messages array for AI SDK format - list of conversation messages with roles"""
31
+
32
+ session_id: Annotated[str, PropertyInfo(alias="sessionId")]
33
+ """Session ID"""
34
+
35
+ user_id: Annotated[str, PropertyInfo(alias="userId")]
36
+ """User ID"""
37
+
38
+ x_component_id: Annotated[str, PropertyInfo(alias="x-component-id")]
39
+
40
+
41
+ class MessageImage(TypedDict, total=False):
42
+ base64: str
43
+ """Base64 encoded image data"""
44
+
45
+ caption: str
46
+ """Caption for the image"""
47
+
48
+ mime_type: Annotated[str, PropertyInfo(alias="mimeType")]
49
+ """MIME type of the image"""
50
+
51
+ url: str
52
+ """URL of the image"""
53
+
54
+
55
+ class Message(TypedDict, total=False):
56
+ images: Iterable[MessageImage]
57
+ """Images attached to the message"""
58
+
59
+ text: str
60
+ """Text content of the message"""
@@ -0,0 +1,65 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from pydantic import Field as FieldInfo
8
+
9
+ from ..._models import BaseModel
10
+
11
+ __all__ = ["GeneratedMaterial", "Content"]
12
+
13
+
14
+ class Content(BaseModel):
15
+ filename: Optional[str] = None
16
+
17
+ file_size: Optional[float] = FieldInfo(alias="fileSize", default=None)
18
+
19
+ mime_type: Optional[str] = FieldInfo(alias="mimeType", default=None)
20
+
21
+ s3_key: Optional[str] = FieldInfo(alias="s3Key", default=None)
22
+
23
+ s3_url: Optional[str] = FieldInfo(alias="s3Url", default=None)
24
+
25
+ text: Optional[str] = None
26
+
27
+ url: Optional[str] = None
28
+
29
+
30
+ class GeneratedMaterial(BaseModel):
31
+ api_id: str = FieldInfo(alias="_id")
32
+ """Material ID"""
33
+
34
+ content: Content
35
+ """Material content"""
36
+
37
+ content_type: Literal["text", "pdf", "video", "audio", "image", "epub"] = FieldInfo(alias="contentType")
38
+ """Content type"""
39
+
40
+ created_at: datetime = FieldInfo(alias="createdAt")
41
+ """Creation timestamp"""
42
+
43
+ folder_id: Optional[str] = FieldInfo(alias="folderId", default=None)
44
+ """Folder ID"""
45
+
46
+ name: str
47
+ """Material name"""
48
+
49
+ organization_id: str = FieldInfo(alias="organizationId")
50
+ """Organization ID"""
51
+
52
+ status: Literal["active", "processing", "pending_upload", "error", "deleted"]
53
+ """Material status"""
54
+
55
+ updated_at: datetime = FieldInfo(alias="updatedAt")
56
+ """Last update timestamp"""
57
+
58
+ generation_metadata: Optional[object] = FieldInfo(alias="generationMetadata", default=None)
59
+ """Generation metadata"""
60
+
61
+ metadata: Optional[object] = None
62
+ """Material metadata"""
63
+
64
+ usage: Optional[object] = None
65
+ """Usage information"""
@@ -0,0 +1,38 @@
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__ = ["MaterialGenerateAndProcessParams"]
10
+
11
+
12
+ class MaterialGenerateAndProcessParams(TypedDict, total=False):
13
+ name: Required[str]
14
+ """Name for the generated material"""
15
+
16
+ topic: Required[str]
17
+ """Topic or context to generate material from"""
18
+
19
+ type: Required[Literal["outline", "overview", "notes", "summary"]]
20
+ """Type of material to generate"""
21
+
22
+ context: str
23
+ """Additional context or details about the topic"""
24
+
25
+ folder_id: Annotated[str, PropertyInfo(alias="folderId")]
26
+ """Target folder ID"""
27
+
28
+ length: Literal["short", "medium", "long"]
29
+ """Length of the generated content"""
30
+
31
+ level: Literal["high_school", "college", "professional"]
32
+ """Target education level"""
33
+
34
+ poll_interval_ms: Annotated[float, PropertyInfo(alias="pollIntervalMs")]
35
+ """Polling interval in milliseconds (default: 2 seconds)"""
36
+
37
+ timeout_ms: Annotated[float, PropertyInfo(alias="timeoutMs")]
38
+ """Maximum time to wait for processing in milliseconds (default: 5 minutes)"""
@@ -0,0 +1,32 @@
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__ = ["MaterialGenerateParams"]
10
+
11
+
12
+ class MaterialGenerateParams(TypedDict, total=False):
13
+ name: Required[str]
14
+ """Name for the generated material"""
15
+
16
+ topic: Required[str]
17
+ """Topic or context to generate material from"""
18
+
19
+ type: Required[Literal["outline", "overview", "notes", "summary"]]
20
+ """Type of material to generate"""
21
+
22
+ context: str
23
+ """Additional context or details about the topic"""
24
+
25
+ folder_id: Annotated[str, PropertyInfo(alias="folderId")]
26
+ """Target folder ID"""
27
+
28
+ length: Literal["short", "medium", "long"]
29
+ """Length of the generated content"""
30
+
31
+ level: Literal["high_school", "college", "professional"]
32
+ """Target education level"""
@@ -11,10 +11,7 @@ __all__ = ["UploadCompleteUploadParams"]
11
11
 
12
12
  class UploadCompleteUploadParams(TypedDict, total=False):
13
13
  material_id: Required[Annotated[str, PropertyInfo(alias="materialId")]]
14
- """The ID of the material that was uploaded"""
15
-
16
- organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
17
- """The ID of the organization"""
14
+ """Material ID from presigned URL response"""
18
15
 
19
16
  s3_key: Required[Annotated[str, PropertyInfo(alias="s3Key")]]
20
- """The S3 key of the uploaded file"""
17
+ """S3 key from presigned URL response"""
@@ -26,4 +26,4 @@ class UploadUploadFileAndProcessParams(TypedDict, total=False):
26
26
  """Polling interval in milliseconds (default: 2000)"""
27
27
 
28
28
  timeout_ms: Annotated[float, PropertyInfo(alias="timeoutMs")]
29
- """Processing timeout in milliseconds (default: 300000)"""
29
+ """Processing timeout in milliseconds (default: 300000 - 5 minutes)"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: studyfetch_sdk
3
- Version: 0.1.0a20
3
+ Version: 0.1.0a21
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
@@ -11,7 +11,7 @@ studyfetch_sdk/_resource.py,sha256=y0aoAqMIYwTAwStuxbpO8XpTPnrSNQQ_ZcgiH5xcntg,1
11
11
  studyfetch_sdk/_response.py,sha256=6ph8tSkqF5pNbTo_2Zhizhq2O-Eb67TcksHwyg3aXdc,28864
12
12
  studyfetch_sdk/_streaming.py,sha256=HZoENuPVzWhBn24eH3lnMCvRbWN0EPwvhWYfdlJfw0A,10128
13
13
  studyfetch_sdk/_types.py,sha256=6nvqHGarRGuhs_FL8tJ8sGXXD8XWajNynT2K78GxRUI,6205
14
- studyfetch_sdk/_version.py,sha256=Sa8Iq07YFRZCekXhCJBF90bzG3xKScCuDWNB5qG6WNw,175
14
+ studyfetch_sdk/_version.py,sha256=bOyJkRNymtNqeZn5dQAGlTwrdsqTQoWOoGhbbBUwLCw,175
15
15
  studyfetch_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  studyfetch_sdk/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  studyfetch_sdk/_utils/_logs.py,sha256=EoZgOiIkpf2WB_0Ts0Ti7G3o_25v7IsPf_q-yEU6sbY,798
@@ -25,30 +25,29 @@ studyfetch_sdk/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0Xcn
25
25
  studyfetch_sdk/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
26
26
  studyfetch_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
27
  studyfetch_sdk/resources/__init__.py,sha256=TSJ6b8GNHShyK5w7efHV93u1bY2jYVySQRa2zKc1dKM,500
28
- studyfetch_sdk/resources/v1/__init__.py,sha256=694ULqkVD3ciGPbU0H9RRivC9Vr58uKjrWYFj1YUxKQ,3859
28
+ studyfetch_sdk/resources/v1/__init__.py,sha256=MuyX9C4vO3TO0ZHFqBqBcQXy-CqjF-_Tis6pWsaDb6Q,3833
29
29
  studyfetch_sdk/resources/v1/assignment_grader.py,sha256=xNI0G7xgz_eC1MR9grPZi-RAaPvSgwQA0rkJhrUx90w,16329
30
+ studyfetch_sdk/resources/v1/chat.py,sha256=9uLNqTB9A76nJ8YC9fFw5FCZX3QWCbms5mTWQlpx0XI,8902
30
31
  studyfetch_sdk/resources/v1/components.py,sha256=XLeKvBQ92xGGFjtTc7YL42Yv6EqY-70Rg0DW83jIQFc,35577
31
32
  studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
32
- studyfetch_sdk/resources/v1/v1.py,sha256=0UUOc_WHVdtH8Ty2RjfLp3hPjXWUBfGVY0cfPrkau04,12821
33
+ studyfetch_sdk/resources/v1/v1.py,sha256=8C0KU-ceX0HTINvoDrmx-9fYqb58OitBND_AwvM152I,12756
33
34
  studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
34
35
  studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE950KMJbCqX5En2Tj0ls,10491
35
36
  studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
36
37
  studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
37
38
  studyfetch_sdk/resources/v1/materials/bulk.py,sha256=7yWgp9Jfclm9ppZhk4VKZxBpOVr1UOBBzos8Nj3HDEo,6511
38
- studyfetch_sdk/resources/v1/materials/materials.py,sha256=R9RMPqm_VR8ulCdevDTcjHaFLsMlyAryN4Zq3S0-U7Q,48101
39
+ studyfetch_sdk/resources/v1/materials/materials.py,sha256=8_NtXcOT6G8im7Q0M5EOzy7LnD0VgvR72-bC581JA-k,59611
39
40
  studyfetch_sdk/resources/v1/materials/test.py,sha256=Vby03Ow171VfeSiM-i1s4pSkqTttY7ggFeCjJHk2dDk,11875
40
- studyfetch_sdk/resources/v1/materials/upload.py,sha256=hcMjpp7JeKSNvG2Dt4xbEZYtOCoF8j7T0DaDK2hqyAU,30732
41
- studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3-Z76lU7DG53phDGr8,1041
42
- studyfetch_sdk/resources/v1/upload/component.py,sha256=Q-8VO-XiWYDFpzdap-NcP62V77dvMXfeJouFv8ELXkM,21803
43
- studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
41
+ studyfetch_sdk/resources/v1/materials/upload.py,sha256=68Qiib8Pmtr3gXEf5S86kltq41vpuRUZ_Q-9mjfWzuM,30478
44
42
  studyfetch_sdk/resources/v1/usage/__init__.py,sha256=zUBe7msw9tyZplhmwNkhbCfRigNQQVj4IFpod4uGWZY,1002
45
43
  studyfetch_sdk/resources/v1/usage/analyst.py,sha256=WJfbjv57r1ZLgNytUzuEH7J_HYPsbXWhk2Ae6q4QBuA,17402
46
44
  studyfetch_sdk/resources/v1/usage/usage.py,sha256=HAG7FfTIiIihB0dtbZEmluKDD0GWqKWrfLp03gcdPjU,19694
47
45
  studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
48
- studyfetch_sdk/types/v1/__init__.py,sha256=UFZVRgMNP-rC9_cY2EGTAaf727Ub5M2cgTjpoz4d6kU,2925
46
+ studyfetch_sdk/types/v1/__init__.py,sha256=XzBRS3D7ewj0mprNhFBG5SL8xeBvu8sveGquvpGwFEI,3271
49
47
  studyfetch_sdk/types/v1/assignment_grader_create_params.py,sha256=o-U_-0ZHJxwpL3pSEW41SmsHz-sOP490i5P8EA5A-Ws,1246
50
48
  studyfetch_sdk/types/v1/assignment_grader_get_all_response.py,sha256=FidqfpFC-PX05_knGWicLerCeSqJiScW2IbzPyzBb2c,339
51
49
  studyfetch_sdk/types/v1/assignment_grader_response.py,sha256=KJm2_mg42eESgXNP2nkIxKvd04-rzQdQd6IeQCghJPo,1142
50
+ studyfetch_sdk/types/v1/chat_stream_params.py,sha256=riIm5xXiAoobWh6C_7MsitUbuzglYHqyfxkPjGYoqDo,1559
52
51
  studyfetch_sdk/types/v1/component.py,sha256=ci484sfjcKqNkjD-1lsj-FqodAauBb8Kf7UE0qHgD20,1247
53
52
  studyfetch_sdk/types/v1/component_create_params.py,sha256=UnTJSJQ9EYBEBgUwXCVAPXCUzjmm_qKsZp0MUl_MqaU,12610
54
53
  studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=acWgEeaQt3Yyu9DHs9jkUCKC4NRz08pQdrUQPtG7TC4,3320
@@ -62,12 +61,15 @@ studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYG
62
61
  studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
63
62
  studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
64
63
  studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
64
+ studyfetch_sdk/types/v1/generated_material.py,sha256=xr77uvK15PlWNCXd2IoaaBqTi1b1ONVnoq9rtKZLml8,1760
65
65
  studyfetch_sdk/types/v1/material.py,sha256=oiS1alAiO5X8nKMeSUd6AIiQaDLiF72QTMJDukqs32U,1615
66
66
  studyfetch_sdk/types/v1/material_batch_create_params.py,sha256=R5KvbSt4D8DEbBqsrGD7DMCND02_8tCSAI9sZdsp1Bk,763
67
67
  studyfetch_sdk/types/v1/material_batch_create_response.py,sha256=rqef0Fo9uP05CSLenN_B2HQ6Oi1H6F7E7xYoICFdFGk,695
68
68
  studyfetch_sdk/types/v1/material_create_and_process_params.py,sha256=Z-fRiRRuCUBVjafpTxlpQyQtWRM9I7zJrr-hZk2T2eg,888
69
69
  studyfetch_sdk/types/v1/material_create_params.py,sha256=CIVz2wMUhtMgTu00oWDhcqNznpW98t7O7ynfNDZCwzY,576
70
70
  studyfetch_sdk/types/v1/material_debug_response.py,sha256=LM8THYVhABq50XeGaykMzziqbG3NHRoT7IpN22CYATM,1120
71
+ studyfetch_sdk/types/v1/material_generate_and_process_params.py,sha256=Ifh7L6Ki2IeRgxHSIh7UlPO_zZBYqpx-axKkMDqA0hI,1240
72
+ studyfetch_sdk/types/v1/material_generate_params.py,sha256=-GfhsOyD0Jyt6agdpL6S8OjOtAAvDNCoLbhTRz0LHDg,928
71
73
  studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=GZpXV1lDBt1qKP0sxJhZvS1OU7vJ16nTtdkogzk4HZc,439
72
74
  studyfetch_sdk/types/v1/material_get_download_url_response.py,sha256=09Vv4rNsXP2XyvjDP48eXGUQbEHqqRj5tmDNWiWJOKk,346
73
75
  studyfetch_sdk/types/v1/material_list_params.py,sha256=8yd556-GB4Xw-NFGshxm_Hx-nIG-MAg4dPtn-W38w3k,388
@@ -89,27 +91,19 @@ studyfetch_sdk/types/v1/materials/test_perform_ocr_response.py,sha256=qtE037pg0N
89
91
  studyfetch_sdk/types/v1/materials/test_process_epub_response.py,sha256=HLWRvESxsEdouhYUg2XbgdImJ5ILmW04mcOzOIZEzNI,752
90
92
  studyfetch_sdk/types/v1/materials/test_process_image_response.py,sha256=m2m4dUfRp-dmyhmL-ayqiok3yGPI06g0lNa1Zziej4Y,713
91
93
  studyfetch_sdk/types/v1/materials/test_process_video_response.py,sha256=hWXrYymCN5FZX-m5_zmOnv7pqYSBEoHtIDQ0PY2umgk,552
92
- studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py,sha256=Xix2TToRJ8DhCYnYF3ap1-OOOzjYSDSdm-ijuuGJCJs,681
94
+ studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py,sha256=4gJ4Z4JXCXKveDZhey_ryKssG3zvF1_fD7iV6aK5pwc,561
93
95
  studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py,sha256=pwRG7ieGMCULgYTOWtvC7ZbdDTFSeyIrdoJKQV2l3m8,793
94
96
  studyfetch_sdk/types/v1/materials/upload_create_presigned_url_response.py,sha256=_gavQUlB2l1VXrPsB02Bc5WUFiMBWn7kKvHZrGAdfLg,531
95
- studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py,sha256=rXWq3EeJGe1mx_HxstrFQZKqkhnAURmlzd5fkdBfhuc,956
97
+ studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py,sha256=gwxrcrO2Y9n3FEasQX_eA797JUUULmMbqh_WNv_8eW4,968
96
98
  studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=xXr5PyBMznRe4HtmqcBOrUbc_S4hzeTLJGWWQ_5XA-I,669
97
99
  studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
98
100
  studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py,sha256=27MFaOv5xrEIwL_27YxSWx17hNZrCbmAMz_MOeaFrfU,827
99
- studyfetch_sdk/types/v1/upload/__init__.py,sha256=oVLQUp-Sxua2NMNauXzopFmF34HjL_KZMjxlqMu7zW8,845
100
- studyfetch_sdk/types/v1/upload/component_complete_upload_params.py,sha256=B3-7nCdLI4S_q0qa8NBS7gNwL0F8ljYVvEbo9fwCkXQ,687
101
- studyfetch_sdk/types/v1/upload/component_complete_upload_response.py,sha256=fOWcCnkzzLlYtwKjmdh4X4hlGVOKUNDA1DmnM5jb1ao,378
102
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py,sha256=dTGFn9zyOY9z3NNdPw732L3Ln7D1GKA3S8xB3FBPb7c,754
103
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py,sha256=RDHDy3IO_qjtnfLHJQ2CX2_uG6_BJI-vwgQk2UJ-aE8,404
104
- studyfetch_sdk/types/v1/upload/component_upload_file_params.py,sha256=UTv4EMrj7_hXa-PU68PMEyXn-bnhxcC0V0qO0JN5W-I,652
105
- studyfetch_sdk/types/v1/upload/component_upload_url_params.py,sha256=3wXvto5WWzLYCu0EfQAWQgM73OmbRGhTwe6UnkMW0gM,687
106
- studyfetch_sdk/types/v1/upload/file_upload_response.py,sha256=z7LcH_BVu1meWzl9J3BeLOkcZr4NQmdtJV39SobbI1k,578
107
101
  studyfetch_sdk/types/v1/usage/__init__.py,sha256=3h0IuGOlhWTwXAOPSFiZN8i5KxWfHN7E_ypXfaZ5BNw,550
108
102
  studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py,sha256=yADHiEpAZaeLoEZoBd4UweQgC-9ofsMj9zeTr1xgqOo,551
109
103
  studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py,sha256=aiT5FyLIiw94prXV-bY3ipPhclzIcCnaXF5BaGZUkik,552
110
104
  studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py,sha256=lJ85gWKgsGGX0uRCsOUXkdzz_Y5JSX7x76St1C7pwy0,1014
111
105
  studyfetch_sdk/types/v1/usage/analyst_list_events_params.py,sha256=wQplMMNjjeTOeNneqgWFQstxFHh4aXhpUeVGUZZeifk,1799
112
- studyfetch_sdk-0.1.0a20.dist-info/METADATA,sha256=gc2TKW-qOumIlkd8KfGlNyB2f36CIzeZaXPgCY4kXqY,15518
113
- studyfetch_sdk-0.1.0a20.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
114
- studyfetch_sdk-0.1.0a20.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
115
- studyfetch_sdk-0.1.0a20.dist-info/RECORD,,
106
+ studyfetch_sdk-0.1.0a21.dist-info/METADATA,sha256=n2ABNL8wOG0nJkUY5HXDOO283rwp1rcnYMiUug8GuHA,15518
107
+ studyfetch_sdk-0.1.0a21.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
108
+ studyfetch_sdk-0.1.0a21.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
109
+ studyfetch_sdk-0.1.0a21.dist-info/RECORD,,
@@ -1,33 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from .upload import (
4
- UploadResource,
5
- AsyncUploadResource,
6
- UploadResourceWithRawResponse,
7
- AsyncUploadResourceWithRawResponse,
8
- UploadResourceWithStreamingResponse,
9
- AsyncUploadResourceWithStreamingResponse,
10
- )
11
- from .component import (
12
- ComponentResource,
13
- AsyncComponentResource,
14
- ComponentResourceWithRawResponse,
15
- AsyncComponentResourceWithRawResponse,
16
- ComponentResourceWithStreamingResponse,
17
- AsyncComponentResourceWithStreamingResponse,
18
- )
19
-
20
- __all__ = [
21
- "ComponentResource",
22
- "AsyncComponentResource",
23
- "ComponentResourceWithRawResponse",
24
- "AsyncComponentResourceWithRawResponse",
25
- "ComponentResourceWithStreamingResponse",
26
- "AsyncComponentResourceWithStreamingResponse",
27
- "UploadResource",
28
- "AsyncUploadResource",
29
- "UploadResourceWithRawResponse",
30
- "AsyncUploadResourceWithRawResponse",
31
- "UploadResourceWithStreamingResponse",
32
- "AsyncUploadResourceWithStreamingResponse",
33
- ]