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.
- studyfetch_sdk/_version.py +1 -1
- studyfetch_sdk/resources/v1/__init__.py +14 -14
- studyfetch_sdk/resources/v1/chat.py +246 -0
- studyfetch_sdk/resources/v1/materials/materials.py +304 -0
- studyfetch_sdk/resources/v1/materials/upload.py +6 -14
- studyfetch_sdk/resources/v1/v1.py +32 -32
- studyfetch_sdk/types/v1/__init__.py +4 -0
- studyfetch_sdk/types/v1/chat_stream_params.py +60 -0
- studyfetch_sdk/types/v1/generated_material.py +65 -0
- studyfetch_sdk/types/v1/material_generate_and_process_params.py +38 -0
- studyfetch_sdk/types/v1/material_generate_params.py +32 -0
- studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py +2 -5
- studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +1 -1
- {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/METADATA +1 -1
- {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/RECORD +17 -23
- studyfetch_sdk/resources/v1/upload/__init__.py +0 -33
- studyfetch_sdk/resources/v1/upload/component.py +0 -572
- studyfetch_sdk/resources/v1/upload/upload.py +0 -102
- studyfetch_sdk/types/v1/upload/__init__.py +0 -11
- studyfetch_sdk/types/v1/upload/component_complete_upload_params.py +0 -20
- studyfetch_sdk/types/v1/upload/component_complete_upload_response.py +0 -16
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py +0 -23
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py +0 -15
- studyfetch_sdk/types/v1/upload/component_upload_file_params.py +0 -21
- studyfetch_sdk/types/v1/upload/component_upload_url_params.py +0 -23
- studyfetch_sdk/types/v1/upload/file_upload_response.py +0 -24
- {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a20.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/licenses/LICENSE +0 -0
@@ -1,20 +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 Required, Annotated, TypedDict
|
6
|
-
|
7
|
-
from ...._utils import PropertyInfo
|
8
|
-
|
9
|
-
__all__ = ["ComponentCompleteUploadParams"]
|
10
|
-
|
11
|
-
|
12
|
-
class ComponentCompleteUploadParams(TypedDict, total=False):
|
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"""
|
18
|
-
|
19
|
-
s3_key: Required[Annotated[str, PropertyInfo(alias="s3Key")]]
|
20
|
-
"""The S3 key of the uploaded file"""
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from ...._models import BaseModel
|
4
|
-
|
5
|
-
__all__ = ["ComponentCompleteUploadResponse"]
|
6
|
-
|
7
|
-
|
8
|
-
class ComponentCompleteUploadResponse(BaseModel):
|
9
|
-
id: str
|
10
|
-
"""The ID of the uploaded material"""
|
11
|
-
|
12
|
-
name: str
|
13
|
-
"""The name of the material"""
|
14
|
-
|
15
|
-
status: str
|
16
|
-
"""The status of the material"""
|
@@ -1,23 +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 Required, Annotated, TypedDict
|
6
|
-
|
7
|
-
from ...._utils import PropertyInfo
|
8
|
-
|
9
|
-
__all__ = ["ComponentGetPresignedURLParams"]
|
10
|
-
|
11
|
-
|
12
|
-
class ComponentGetPresignedURLParams(TypedDict, total=False):
|
13
|
-
content_type: Required[Annotated[str, PropertyInfo(alias="contentType")]]
|
14
|
-
"""The MIME type of the file"""
|
15
|
-
|
16
|
-
filename: Required[str]
|
17
|
-
"""The name of the file to upload"""
|
18
|
-
|
19
|
-
folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
|
20
|
-
"""The ID of the folder to upload to"""
|
21
|
-
|
22
|
-
organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
|
23
|
-
"""The ID of the organization"""
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from pydantic import Field as FieldInfo
|
4
|
-
|
5
|
-
from ...._models import BaseModel
|
6
|
-
|
7
|
-
__all__ = ["ComponentGetPresignedURLResponse"]
|
8
|
-
|
9
|
-
|
10
|
-
class ComponentGetPresignedURLResponse(BaseModel):
|
11
|
-
key: str
|
12
|
-
"""The S3 key for the file"""
|
13
|
-
|
14
|
-
upload_url: str = FieldInfo(alias="uploadUrl")
|
15
|
-
"""The presigned URL for uploading"""
|
@@ -1,21 +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 Required, Annotated, TypedDict
|
6
|
-
|
7
|
-
from ...._types import FileTypes
|
8
|
-
from ...._utils import PropertyInfo
|
9
|
-
|
10
|
-
__all__ = ["ComponentUploadFileParams"]
|
11
|
-
|
12
|
-
|
13
|
-
class ComponentUploadFileParams(TypedDict, total=False):
|
14
|
-
file: Required[FileTypes]
|
15
|
-
"""The file to upload"""
|
16
|
-
|
17
|
-
folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
|
18
|
-
"""The ID of the folder to upload to"""
|
19
|
-
|
20
|
-
organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
|
21
|
-
"""The ID of the organization"""
|
@@ -1,23 +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 Required, Annotated, TypedDict
|
6
|
-
|
7
|
-
from ...._utils import PropertyInfo
|
8
|
-
|
9
|
-
__all__ = ["ComponentUploadURLParams"]
|
10
|
-
|
11
|
-
|
12
|
-
class ComponentUploadURLParams(TypedDict, total=False):
|
13
|
-
folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
|
14
|
-
"""The ID of the folder to upload to"""
|
15
|
-
|
16
|
-
name: Required[str]
|
17
|
-
"""The name for the uploaded file"""
|
18
|
-
|
19
|
-
organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
|
20
|
-
"""The ID of the organization"""
|
21
|
-
|
22
|
-
url: Required[str]
|
23
|
-
"""The URL of the file to upload"""
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from pydantic import Field as FieldInfo
|
4
|
-
|
5
|
-
from ...._models import BaseModel
|
6
|
-
|
7
|
-
__all__ = ["FileUploadResponse"]
|
8
|
-
|
9
|
-
|
10
|
-
class FileUploadResponse(BaseModel):
|
11
|
-
id: str
|
12
|
-
"""The ID of the uploaded material"""
|
13
|
-
|
14
|
-
content_type: str = FieldInfo(alias="contentType")
|
15
|
-
"""The content type of the material"""
|
16
|
-
|
17
|
-
name: str
|
18
|
-
"""The name of the material"""
|
19
|
-
|
20
|
-
s3_key: str = FieldInfo(alias="s3Key")
|
21
|
-
"""The S3 key of the uploaded file"""
|
22
|
-
|
23
|
-
status: str
|
24
|
-
"""The status of the material"""
|
File without changes
|
File without changes
|