studyfetch-sdk 0.1.0a4__py3-none-any.whl → 0.1.0a6__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 +12 -12
- studyfetch_sdk/resources/v1/chat/chat.py +13 -15
- studyfetch_sdk/resources/v1/components.py +40 -37
- studyfetch_sdk/resources/v1/explainers.py +234 -9
- studyfetch_sdk/resources/v1/flashcards.py +15 -15
- studyfetch_sdk/resources/v1/materials/materials.py +19 -20
- studyfetch_sdk/resources/v1/materials/upload.py +19 -20
- studyfetch_sdk/resources/v1/scenarios/component.py +116 -12
- studyfetch_sdk/resources/v1/scenarios/scenarios.py +255 -19
- studyfetch_sdk/resources/v1/scenarios/submissions/user.py +50 -50
- studyfetch_sdk/resources/v1/v1.py +48 -48
- studyfetch_sdk/types/v1/__init__.py +8 -11
- studyfetch_sdk/types/v1/{chat_retrieve_session_params.py → chat_get_session_params.py} +2 -2
- studyfetch_sdk/types/v1/{component_create_response.py → component.py} +2 -2
- studyfetch_sdk/types/v1/component_create_params.py +60 -6
- studyfetch_sdk/types/v1/{component_embed_params.py → component_generate_embed_params.py} +2 -2
- studyfetch_sdk/types/v1/{component_embed_response.py → component_generate_embed_response.py} +2 -2
- studyfetch_sdk/types/v1/component_list_response.py +5 -46
- studyfetch_sdk/types/v1/explainer_create_params.py +45 -0
- studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +45 -3
- studyfetch_sdk/types/v1/{flashcard_get_algorithm_info_response.py → flashcard_get_algorithm_response.py} +2 -2
- studyfetch_sdk/types/v1/{material_create_response.py → material.py} +2 -2
- studyfetch_sdk/types/v1/material_list_response.py +5 -60
- studyfetch_sdk/types/v1/materials/__init__.py +0 -2
- studyfetch_sdk/types/v1/scenario_create_params.py +39 -2
- studyfetch_sdk/types/v1/scenario_submit_answer_params.py +18 -0
- studyfetch_sdk/types/v1/scenario_update_params.py +39 -2
- studyfetch_sdk/types/v1/scenarios/component_update_params.py +39 -2
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/METADATA +28 -12
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/RECORD +33 -43
- studyfetch_sdk/types/v1/admin/__init__.py +0 -3
- studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -3
- studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -3
- studyfetch_sdk/types/v1/component_retrieve_response.py +0 -48
- studyfetch_sdk/types/v1/component_update_response.py +0 -48
- studyfetch_sdk/types/v1/material_retrieve_response.py +0 -62
- studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -62
- studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -62
- studyfetch_sdk/types/v1/organizations/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/profile/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/team/__init__.py +0 -3
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ from pydantic import Field as FieldInfo
|
|
8
8
|
|
9
9
|
from ..._models import BaseModel
|
10
10
|
|
11
|
-
__all__ = ["
|
11
|
+
__all__ = ["Material", "Content"]
|
12
12
|
|
13
13
|
|
14
14
|
class Content(BaseModel):
|
@@ -27,7 +27,7 @@ class Content(BaseModel):
|
|
27
27
|
url: Optional[str] = None
|
28
28
|
|
29
29
|
|
30
|
-
class
|
30
|
+
class Material(BaseModel):
|
31
31
|
api_id: str = FieldInfo(alias="_id")
|
32
32
|
"""Material ID"""
|
33
33
|
|
@@ -1,65 +1,10 @@
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
2
|
|
3
|
-
from typing import List
|
4
|
-
from
|
5
|
-
from typing_extensions import Literal, TypeAlias
|
3
|
+
from typing import List
|
4
|
+
from typing_extensions import TypeAlias
|
6
5
|
|
7
|
-
from
|
6
|
+
from .material import Material
|
8
7
|
|
9
|
-
|
8
|
+
__all__ = ["MaterialListResponse"]
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
class MaterialListResponseItemContent(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 MaterialListResponseItem(BaseModel):
|
31
|
-
api_id: str = FieldInfo(alias="_id")
|
32
|
-
"""Material ID"""
|
33
|
-
|
34
|
-
content: MaterialListResponseItemContent
|
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
|
-
metadata: Optional[object] = None
|
59
|
-
"""Material metadata"""
|
60
|
-
|
61
|
-
usage: Optional[object] = None
|
62
|
-
"""Usage information"""
|
63
|
-
|
64
|
-
|
65
|
-
MaterialListResponse: TypeAlias = List[MaterialListResponseItem]
|
10
|
+
MaterialListResponse: TypeAlias = List[Material]
|
@@ -3,6 +3,4 @@
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
5
|
from .upload_upload_file_params import UploadUploadFileParams as UploadUploadFileParams
|
6
|
-
from .upload_upload_file_response import UploadUploadFileResponse as UploadUploadFileResponse
|
7
6
|
from .upload_upload_from_url_params import UploadUploadFromURLParams as UploadUploadFromURLParams
|
8
|
-
from .upload_upload_from_url_response import UploadUploadFromURLResponse as UploadUploadFromURLResponse
|
@@ -2,10 +2,47 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
-
from
|
5
|
+
from typing import Iterable
|
6
|
+
from typing_extensions import Required, Annotated, TypedDict
|
7
|
+
|
8
|
+
from ..._utils import PropertyInfo
|
6
9
|
|
7
10
|
__all__ = ["ScenarioCreateParams"]
|
8
11
|
|
9
12
|
|
10
13
|
class ScenarioCreateParams(TypedDict, total=False):
|
11
|
-
|
14
|
+
component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
|
15
|
+
"""Associated component ID"""
|
16
|
+
|
17
|
+
name: Required[str]
|
18
|
+
"""Scenario name"""
|
19
|
+
|
20
|
+
characters: Iterable[object]
|
21
|
+
"""Scenario characters"""
|
22
|
+
|
23
|
+
context: str
|
24
|
+
"""Scenario context"""
|
25
|
+
|
26
|
+
description: str
|
27
|
+
"""Scenario description"""
|
28
|
+
|
29
|
+
final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
|
30
|
+
"""Prompt for final answer"""
|
31
|
+
|
32
|
+
format: str
|
33
|
+
"""Interaction format"""
|
34
|
+
|
35
|
+
goal: str
|
36
|
+
"""Scenario goal"""
|
37
|
+
|
38
|
+
greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
|
39
|
+
"""Character ID for greeting"""
|
40
|
+
|
41
|
+
greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
|
42
|
+
"""Greeting message"""
|
43
|
+
|
44
|
+
requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
|
45
|
+
"""Whether scenario requires a final answer"""
|
46
|
+
|
47
|
+
tools: Iterable[object]
|
48
|
+
"""Available tools"""
|
@@ -0,0 +1,18 @@
|
|
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 Iterable
|
6
|
+
from typing_extensions import Required, Annotated, TypedDict
|
7
|
+
|
8
|
+
from ..._utils import PropertyInfo
|
9
|
+
|
10
|
+
__all__ = ["ScenarioSubmitAnswerParams"]
|
11
|
+
|
12
|
+
|
13
|
+
class ScenarioSubmitAnswerParams(TypedDict, total=False):
|
14
|
+
conversation_history: Required[Annotated[Iterable[object], PropertyInfo(alias="conversationHistory")]]
|
15
|
+
"""Conversation history"""
|
16
|
+
|
17
|
+
final_answer: Annotated[str, PropertyInfo(alias="finalAnswer")]
|
18
|
+
"""Final answer for the scenario"""
|
@@ -2,10 +2,47 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
-
from
|
5
|
+
from typing import Iterable
|
6
|
+
from typing_extensions import Required, Annotated, TypedDict
|
7
|
+
|
8
|
+
from ..._utils import PropertyInfo
|
6
9
|
|
7
10
|
__all__ = ["ScenarioUpdateParams"]
|
8
11
|
|
9
12
|
|
10
13
|
class ScenarioUpdateParams(TypedDict, total=False):
|
11
|
-
|
14
|
+
component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
|
15
|
+
"""Associated component ID"""
|
16
|
+
|
17
|
+
name: Required[str]
|
18
|
+
"""Scenario name"""
|
19
|
+
|
20
|
+
characters: Iterable[object]
|
21
|
+
"""Scenario characters"""
|
22
|
+
|
23
|
+
context: str
|
24
|
+
"""Scenario context"""
|
25
|
+
|
26
|
+
description: str
|
27
|
+
"""Scenario description"""
|
28
|
+
|
29
|
+
final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
|
30
|
+
"""Prompt for final answer"""
|
31
|
+
|
32
|
+
format: str
|
33
|
+
"""Interaction format"""
|
34
|
+
|
35
|
+
goal: str
|
36
|
+
"""Scenario goal"""
|
37
|
+
|
38
|
+
greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
|
39
|
+
"""Character ID for greeting"""
|
40
|
+
|
41
|
+
greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
|
42
|
+
"""Greeting message"""
|
43
|
+
|
44
|
+
requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
|
45
|
+
"""Whether scenario requires a final answer"""
|
46
|
+
|
47
|
+
tools: Iterable[object]
|
48
|
+
"""Available tools"""
|
@@ -2,10 +2,47 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
-
from
|
5
|
+
from typing import Iterable
|
6
|
+
from typing_extensions import Required, Annotated, TypedDict
|
7
|
+
|
8
|
+
from ...._utils import PropertyInfo
|
6
9
|
|
7
10
|
__all__ = ["ComponentUpdateParams"]
|
8
11
|
|
9
12
|
|
10
13
|
class ComponentUpdateParams(TypedDict, total=False):
|
11
|
-
|
14
|
+
body_component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
|
15
|
+
"""Associated component ID"""
|
16
|
+
|
17
|
+
name: Required[str]
|
18
|
+
"""Scenario name"""
|
19
|
+
|
20
|
+
characters: Iterable[object]
|
21
|
+
"""Scenario characters"""
|
22
|
+
|
23
|
+
context: str
|
24
|
+
"""Scenario context"""
|
25
|
+
|
26
|
+
description: str
|
27
|
+
"""Scenario description"""
|
28
|
+
|
29
|
+
final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
|
30
|
+
"""Prompt for final answer"""
|
31
|
+
|
32
|
+
format: str
|
33
|
+
"""Interaction format"""
|
34
|
+
|
35
|
+
goal: str
|
36
|
+
"""Scenario goal"""
|
37
|
+
|
38
|
+
greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
|
39
|
+
"""Character ID for greeting"""
|
40
|
+
|
41
|
+
greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
|
42
|
+
"""Greeting message"""
|
43
|
+
|
44
|
+
requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
|
45
|
+
"""Whether scenario requires a final answer"""
|
46
|
+
|
47
|
+
tools: Iterable[object]
|
48
|
+
"""Available tools"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a6
|
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
|
@@ -46,7 +46,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
46
46
|
|
47
47
|
## Documentation
|
48
48
|
|
49
|
-
The
|
49
|
+
The full API of this library can be found in [api.md](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/api.md).
|
50
50
|
|
51
51
|
## Installation
|
52
52
|
|
@@ -67,7 +67,9 @@ client = StudyfetchSDK(
|
|
67
67
|
api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
|
68
68
|
)
|
69
69
|
|
70
|
-
client.v1.auth.
|
70
|
+
client.v1.auth.number_2fa.send_code(
|
71
|
+
email="user@example.com",
|
72
|
+
)
|
71
73
|
```
|
72
74
|
|
73
75
|
While you can provide an `api_key` keyword argument,
|
@@ -90,7 +92,9 @@ client = AsyncStudyfetchSDK(
|
|
90
92
|
|
91
93
|
|
92
94
|
async def main() -> None:
|
93
|
-
await client.v1.auth.
|
95
|
+
await client.v1.auth.number_2fa.send_code(
|
96
|
+
email="user@example.com",
|
97
|
+
)
|
94
98
|
|
95
99
|
|
96
100
|
asyncio.run(main())
|
@@ -122,7 +126,9 @@ async def main() -> None:
|
|
122
126
|
api_key="My API Key",
|
123
127
|
http_client=DefaultAioHttpClient(),
|
124
128
|
) as client:
|
125
|
-
await client.v1.auth.
|
129
|
+
await client.v1.auth.number_2fa.send_code(
|
130
|
+
email="user@example.com",
|
131
|
+
)
|
126
132
|
|
127
133
|
|
128
134
|
asyncio.run(main())
|
@@ -187,7 +193,9 @@ from studyfetch_sdk import StudyfetchSDK
|
|
187
193
|
client = StudyfetchSDK()
|
188
194
|
|
189
195
|
try:
|
190
|
-
client.v1.auth.
|
196
|
+
client.v1.auth.number_2fa.send_code(
|
197
|
+
email="user@example.com",
|
198
|
+
)
|
191
199
|
except studyfetch_sdk.APIConnectionError as e:
|
192
200
|
print("The server could not be reached")
|
193
201
|
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
@@ -230,7 +238,9 @@ client = StudyfetchSDK(
|
|
230
238
|
)
|
231
239
|
|
232
240
|
# Or, configure per-request:
|
233
|
-
client.with_options(max_retries=5).v1.auth.
|
241
|
+
client.with_options(max_retries=5).v1.auth.number_2fa.send_code(
|
242
|
+
email="user@example.com",
|
243
|
+
)
|
234
244
|
```
|
235
245
|
|
236
246
|
### Timeouts
|
@@ -253,7 +263,9 @@ client = StudyfetchSDK(
|
|
253
263
|
)
|
254
264
|
|
255
265
|
# Override per-request:
|
256
|
-
client.with_options(timeout=5.0).v1.auth.
|
266
|
+
client.with_options(timeout=5.0).v1.auth.number_2fa.send_code(
|
267
|
+
email="user@example.com",
|
268
|
+
)
|
257
269
|
```
|
258
270
|
|
259
271
|
On timeout, an `APITimeoutError` is thrown.
|
@@ -294,11 +306,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
294
306
|
from studyfetch_sdk import StudyfetchSDK
|
295
307
|
|
296
308
|
client = StudyfetchSDK()
|
297
|
-
response = client.v1.auth.with_raw_response.
|
309
|
+
response = client.v1.auth.number_2fa.with_raw_response.send_code(
|
310
|
+
email="user@example.com",
|
311
|
+
)
|
298
312
|
print(response.headers.get('X-My-Header'))
|
299
313
|
|
300
|
-
|
301
|
-
print(
|
314
|
+
number_2fa = response.parse() # get the object that `v1.auth.number_2fa.send_code()` would have returned
|
315
|
+
print(number_2fa)
|
302
316
|
```
|
303
317
|
|
304
318
|
These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
|
@@ -312,7 +326,9 @@ The above interface eagerly reads the full response body when you make the reque
|
|
312
326
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
313
327
|
|
314
328
|
```python
|
315
|
-
with client.v1.auth.with_streaming_response.
|
329
|
+
with client.v1.auth.number_2fa.with_streaming_response.send_code(
|
330
|
+
email="user@example.com",
|
331
|
+
) as response:
|
316
332
|
print(response.headers.get("X-My-Header"))
|
317
333
|
|
318
334
|
for line in response.iter_lines():
|
@@ -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=
|
14
|
+
studyfetch_sdk/_version.py,sha256=ELm7t_CV4x0QoVydh7-cy-IfaKxJP6EAOooEM0BRi6Q,174
|
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,13 +25,13 @@ 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=
|
29
|
-
studyfetch_sdk/resources/v1/components.py,sha256=
|
30
|
-
studyfetch_sdk/resources/v1/explainers.py,sha256=
|
31
|
-
studyfetch_sdk/resources/v1/flashcards.py,sha256
|
28
|
+
studyfetch_sdk/resources/v1/__init__.py,sha256=HZXFDwaXIHuWpFG74ZBEcvBkOGtBuUkV974tf0bBGCI,6572
|
29
|
+
studyfetch_sdk/resources/v1/components.py,sha256=iU4cy-l8k6_RBtsMvjag0E29nWJpSyktuCFhi4TZEh4,35435
|
30
|
+
studyfetch_sdk/resources/v1/explainers.py,sha256=W5Kq3Gpwqw3kBy9v-qpV5FKxH1HAm5_yk1NgACM-Mec,16047
|
31
|
+
studyfetch_sdk/resources/v1/flashcards.py,sha256=_-zZUd8Ja9k2895cxLJsLbN73ZTIrkJaComGCSMkbCk,29242
|
32
32
|
studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
|
33
33
|
studyfetch_sdk/resources/v1/usage.py,sha256=78OlA8pT13Ggja84nHdJJQoKSn7GjDO3SefPyxsCYWo,18513
|
34
|
-
studyfetch_sdk/resources/v1/v1.py,sha256=
|
34
|
+
studyfetch_sdk/resources/v1/v1.py,sha256=5noiTRTSDFikwpc1bxuDI8JuUHROl7vUa-hLitpWDbA,16705
|
35
35
|
studyfetch_sdk/resources/v1/audio_recaps/__init__.py,sha256=X6oJGmyaqUBFChSn8l0r-EHjCZos36O10zfFYWuid2w,1094
|
36
36
|
studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py,sha256=XAfSWFDbjUSp9bKjDVHqLyrEv3kNtTYSaLtWPRFIzdc,12630
|
37
37
|
studyfetch_sdk/resources/v1/audio_recaps/sections.py,sha256=AcYtFSNemNP2T-fJn2nZkrPNNpaEtqiwPNuTpual2Lw,9451
|
@@ -39,7 +39,7 @@ studyfetch_sdk/resources/v1/auth/__init__.py,sha256=YoujojaKcfwWPoS9E2_PYpMbgs6l
|
|
39
39
|
studyfetch_sdk/resources/v1/auth/auth.py,sha256=3YdW8S67YtkPtNvBvyKtyqiY7fU09vkwCCfR_hgdU3Q,6234
|
40
40
|
studyfetch_sdk/resources/v1/auth/number_2fa.py,sha256=QgfvK7_m-Kko29XYyDSlAWFv6l7xRF8t6ndNAW5kBz8,6195
|
41
41
|
studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
|
42
|
-
studyfetch_sdk/resources/v1/chat/chat.py,sha256=
|
42
|
+
studyfetch_sdk/resources/v1/chat/chat.py,sha256=PFySkZ3HsxthOYe5QZYAKkSwJryo6tE7Tl53f7DscYo,21666
|
43
43
|
studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
|
44
44
|
studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
|
45
45
|
studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
|
@@ -47,16 +47,16 @@ studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE95
|
|
47
47
|
studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
|
48
48
|
studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
|
49
49
|
studyfetch_sdk/resources/v1/materials/bulk.py,sha256=oVAcnbKm8NUBFJIMoj4pEHFb_l1CM7F3Ve9cTApWguo,4843
|
50
|
-
studyfetch_sdk/resources/v1/materials/materials.py,sha256=
|
50
|
+
studyfetch_sdk/resources/v1/materials/materials.py,sha256=dHx9epoBs9-Q2gFm08RMHxo5kETE_dF3yReV_Vf7Fow,38476
|
51
51
|
studyfetch_sdk/resources/v1/materials/test.py,sha256=eGcjGYvPlrlZGrU6AnvZZX5qZ3aLgZgxIrNspXC1rnE,11355
|
52
|
-
studyfetch_sdk/resources/v1/materials/upload.py,sha256=
|
52
|
+
studyfetch_sdk/resources/v1/materials/upload.py,sha256=vXbsicx0pVlrx3LPr7rqOkqHmzBoxFI6lIBScM29zr8,15476
|
53
53
|
studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
|
54
|
-
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=
|
55
|
-
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=
|
54
|
+
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=RvB07dib9WtMY3Irr5UPjQIG1Bue9vGVPyhMrSKxwqk,16333
|
55
|
+
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=BX4XaOFi-8AbP_75RIlfM26qBxfKt1pzTrC_plEu-04,34910
|
56
56
|
studyfetch_sdk/resources/v1/scenarios/sessions.py,sha256=nTa6kBd5SoCBTm4DoIdH_u_nj1bM5dIbo2yAy-rMzKg,8949
|
57
57
|
studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py,sha256=rTtsEfGVta9DIHDkyL4p32yLV21bFcxkE-LRb_bpFvU,1041
|
58
58
|
studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py,sha256=2wj6bWW4NXw3EjsCDQySGYOAym64QIUzLqp6UelJsqo,3773
|
59
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256
|
59
|
+
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256=n4QlwOw90vyFMGD7Akv_k4ZMyuWT6FNb9o3Fnsl7SZs,7916
|
60
60
|
studyfetch_sdk/resources/v1/tests/__init__.py,sha256=7-K6i3WJPRCoMSOatJEqUhlz74S0wr4S-yrWr2X-LTA,1028
|
61
61
|
studyfetch_sdk/resources/v1/tests/component.py,sha256=MJZIo4-ES4tkY9P1FJl8phjkQxGG8FBCe99ar0I_un4,6013
|
62
62
|
studyfetch_sdk/resources/v1/tests/tests.py,sha256=BGwXClZ8YkzegN80R0WDIrvK3WN1-ujtYkfR33ARhVU,24870
|
@@ -64,25 +64,24 @@ studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3
|
|
64
64
|
studyfetch_sdk/resources/v1/upload/component.py,sha256=BbiKtJ9hC7c7_Wv6Q_Zi_BZJmcusWFRNvBKJqaB75yA,15493
|
65
65
|
studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
|
66
66
|
studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
67
|
-
studyfetch_sdk/types/v1/__init__.py,sha256=
|
68
|
-
studyfetch_sdk/types/v1/
|
67
|
+
studyfetch_sdk/types/v1/__init__.py,sha256=dx6-7-97lowsTjmOKmMKYKOdbN9EVSzCre7SvR4QqiI,3463
|
68
|
+
studyfetch_sdk/types/v1/chat_get_session_params.py,sha256=Iv3O6eF4DvTYTBVQVyVR4trfZNQxFhipLPRWDF_VWq4,378
|
69
69
|
studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=BRxjNsVXsqcBbdrp4J5TQGjjNPJ_bz7uXw3pnc-x0oU,1454
|
70
70
|
studyfetch_sdk/types/v1/chat_stream_params.py,sha256=Aqp2Vdsa35PAH-75kaO_ZYlkqGrCgDZ5EyYTTLRAJoE,695
|
71
|
-
studyfetch_sdk/types/v1/
|
72
|
-
studyfetch_sdk/types/v1/
|
73
|
-
studyfetch_sdk/types/v1/
|
74
|
-
studyfetch_sdk/types/v1/
|
71
|
+
studyfetch_sdk/types/v1/component.py,sha256=ye8BDfb0taD0WwEWJDpi4cXH0iwKqzom0SQQA1nbO4c,1166
|
72
|
+
studyfetch_sdk/types/v1/component_create_params.py,sha256=ec6urTYr_9KEvITea9qThEIVFgWhRbY8tUhyk2RQHQQ,10496
|
73
|
+
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=keiOzDzPCvacAWHQj_OtF2pGjEAqxwjNriBGxRaRQNk,3068
|
74
|
+
studyfetch_sdk/types/v1/component_generate_embed_response.py,sha256=xhbqEpAt_Q7yzD4xjWITs_jXYUD6ElrH4aQfNEunI3Y,922
|
75
75
|
studyfetch_sdk/types/v1/component_list_params.py,sha256=R8NMK7r37CpqmbAWdbs6rEF1LigoYrE3BXksJCCdKEQ,431
|
76
|
-
studyfetch_sdk/types/v1/component_list_response.py,sha256=
|
77
|
-
studyfetch_sdk/types/v1/component_retrieve_response.py,sha256=Yeg2h0foE-atwpRzrhdWUakRP83_7nvkfMfHPf4CT28,1198
|
76
|
+
studyfetch_sdk/types/v1/component_list_response.py,sha256=BYGoH8x8UJdekr8HXdbcOw_LoKWULlIdN6sn1uL5RuY,274
|
78
77
|
studyfetch_sdk/types/v1/component_update_params.py,sha256=IkSFyldrto9H_F_4GWIGG1WYpYFEuYsAi-29dmo9vno,365
|
79
|
-
studyfetch_sdk/types/v1/component_update_response.py,sha256=Red-3gvU3gf0uxbxFCtk88D7zXgq_qpqMo-15w-fUh4,1194
|
80
78
|
studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
|
81
79
|
studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
|
82
|
-
studyfetch_sdk/types/v1/
|
80
|
+
studyfetch_sdk/types/v1/explainer_create_params.py,sha256=DfTTxdkaUezNpD3TwTSyWZDsqcj3ZQ_pi-NiFmhldCk,1365
|
81
|
+
studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=FroVkIVnrp3n_Jf5q5gfl4OaL41gswNRG2EZHXaeekY,1426
|
83
82
|
studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
|
84
83
|
studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
|
85
|
-
studyfetch_sdk/types/v1/
|
84
|
+
studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py,sha256=HdX5UB4l-jZpNpLN0-UZfQL2nxpd-dmypxO-dQEH8Eo,863
|
86
85
|
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=VVEPwJ1sQ03CqUWM-bvmPmy4M2j2MEMvTPU6Qp7aflk,563
|
87
86
|
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=n_05aRmk05p-WXctVdE57Gm-lMChCn-efmy1Tl2Kq-Q,509
|
88
87
|
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=ghcZfsKIM4au3PtoBpiw-3iGNEy-86co8vzIqLKhZ9o,483
|
@@ -91,14 +90,14 @@ studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpm
|
|
91
90
|
studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
|
92
91
|
studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
|
93
92
|
studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
|
93
|
+
studyfetch_sdk/types/v1/material.py,sha256=oiS1alAiO5X8nKMeSUd6AIiQaDLiF72QTMJDukqs32U,1615
|
94
94
|
studyfetch_sdk/types/v1/material_create_params.py,sha256=mYjnlTBvz_aInnnqO7FiNEHbqAUBWbJ0pBm8ppUoELM,899
|
95
|
-
studyfetch_sdk/types/v1/material_create_response.py,sha256=0melSQ8cXHwMcme2pd-VFyU63-xEmmuCCE7d26p7ba4,1643
|
96
95
|
studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=7prrB3K-E4xAWUQlaH_YBCEB7u9WHQSc9pE1NvO88Ts,400
|
97
96
|
studyfetch_sdk/types/v1/material_list_params.py,sha256=8yd556-GB4Xw-NFGshxm_Hx-nIG-MAg4dPtn-W38w3k,388
|
98
|
-
studyfetch_sdk/types/v1/material_list_response.py,sha256=
|
99
|
-
studyfetch_sdk/types/v1/
|
100
|
-
studyfetch_sdk/types/v1/
|
101
|
-
studyfetch_sdk/types/v1/scenario_update_params.py,sha256=
|
97
|
+
studyfetch_sdk/types/v1/material_list_response.py,sha256=mYCoEQJT6sxJd35nchrBf7BJpRHWWH1CbgZNz3QBPQg,269
|
98
|
+
studyfetch_sdk/types/v1/scenario_create_params.py,sha256=anCK913P4vYEtgY6GnxxxCxRnUazeV1H1NoyBV78sT8,1281
|
99
|
+
studyfetch_sdk/types/v1/scenario_submit_answer_params.py,sha256=g1idbU9OxRC_qrU7bOVNuFcXtKa2ZiJgy7KBR2mJWSM,597
|
100
|
+
studyfetch_sdk/types/v1/scenario_update_params.py,sha256=q-PB0dS3s2S9q_JCm46UWB-Dy2WVSUiAw3C6v6lq7XA,1281
|
102
101
|
studyfetch_sdk/types/v1/test_create_params.py,sha256=-MrR4d4Igyp7FD9xni5Rh_Gn3JgCZyYGagXUG3GDvQc,537
|
103
102
|
studyfetch_sdk/types/v1/test_retake_params.py,sha256=pSxTOQ8Io9D_ZquvrbwdbUGtpjG-idDfBd-28i6gQVM,379
|
104
103
|
studyfetch_sdk/types/v1/test_submit_answer_params.py,sha256=KnXliGsq5TTCZIno5It7rK5pi_qttEavBw86X_yhyj0,549
|
@@ -106,9 +105,6 @@ studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpV
|
|
106
105
|
studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
|
107
106
|
studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
|
108
107
|
studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=iMhwqdlaEbtyBqlTpAEcTdYCQumwWVmYBo8czDPLm74,1729
|
109
|
-
studyfetch_sdk/types/v1/admin/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
110
|
-
studyfetch_sdk/types/v1/admin/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
111
|
-
studyfetch_sdk/types/v1/admin/organizations/models/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
112
108
|
studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
113
109
|
studyfetch_sdk/types/v1/auth/__init__.py,sha256=kmP7LURAJVk6-7RX73vhbBFvQzj5-acFH7_zNbJNbrs,215
|
114
110
|
studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py,sha256=kb8JNsBwu45iiCr7FFLSADKccPN4dgIVQWEleTNSr50,336
|
@@ -117,21 +113,15 @@ studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWy
|
|
117
113
|
studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
|
118
114
|
studyfetch_sdk/types/v1/embed/component_interact_params.py,sha256=IdYB5R3TK9KaOQgXP8HbDA4_1bmkPeCxNSORu_Pl1Y0,341
|
119
115
|
studyfetch_sdk/types/v1/embed/component_retrieve_params.py,sha256=At4Eu0g84kblyZVKKBjwtFBc5UcG3XbhS97RkDgysMs,316
|
120
|
-
studyfetch_sdk/types/v1/materials/__init__.py,sha256=
|
116
|
+
studyfetch_sdk/types/v1/materials/__init__.py,sha256=dUjFp8sMxIHguGTJiFUSn-94pC07-usforU8UL9O4SE,309
|
121
117
|
studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=gfWhDYiYupBpxiSkJoJ2asgcBpYaXaMsZ55NxM-7rVg,521
|
122
|
-
studyfetch_sdk/types/v1/materials/upload_upload_file_response.py,sha256=MSFNyGpNM7m_OP3dLUuATptAgY32k7EzB_YOrbxqysM,1648
|
123
118
|
studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
|
124
|
-
studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py,sha256=iulaqSN3i-WWN90Oh5XoxQDUaWPkfauzU0ODABTN0hg,1654
|
125
|
-
studyfetch_sdk/types/v1/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
126
|
-
studyfetch_sdk/types/v1/organizations/logo/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
127
|
-
studyfetch_sdk/types/v1/organizations/profile/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
128
|
-
studyfetch_sdk/types/v1/organizations/team/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
129
119
|
studyfetch_sdk/types/v1/scenarios/__init__.py,sha256=2DyrawNlb-TstNKw0gUMlQaNSq-UAUcLhmOGElM0l0U,207
|
130
|
-
studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=
|
120
|
+
studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=_Rs0wRJtrLMKyQCGH3hrpMjWG1fHJwD3QaTyeOfdZMA,1289
|
131
121
|
studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
132
122
|
studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
133
123
|
studyfetch_sdk/types/v1/upload/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
134
|
-
studyfetch_sdk-0.1.
|
135
|
-
studyfetch_sdk-0.1.
|
136
|
-
studyfetch_sdk-0.1.
|
137
|
-
studyfetch_sdk-0.1.
|
124
|
+
studyfetch_sdk-0.1.0a6.dist-info/METADATA,sha256=8ZIHa1YDL1yi2bPn2RtaB-kqhXsdWx9PXaFJC3dA7CI,15046
|
125
|
+
studyfetch_sdk-0.1.0a6.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
126
|
+
studyfetch_sdk-0.1.0a6.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
|
127
|
+
studyfetch_sdk-0.1.0a6.dist-info/RECORD,,
|
@@ -1,48 +0,0 @@
|
|
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__ = ["ComponentRetrieveResponse"]
|
12
|
-
|
13
|
-
|
14
|
-
class ComponentRetrieveResponse(BaseModel):
|
15
|
-
api_id: str = FieldInfo(alias="_id")
|
16
|
-
"""Component ID (MongoDB ObjectId)"""
|
17
|
-
|
18
|
-
component_id: str = FieldInfo(alias="componentId")
|
19
|
-
"""Unique component identifier"""
|
20
|
-
|
21
|
-
config: object
|
22
|
-
"""Component configuration"""
|
23
|
-
|
24
|
-
created_at: datetime = FieldInfo(alias="createdAt")
|
25
|
-
"""Creation timestamp"""
|
26
|
-
|
27
|
-
name: str
|
28
|
-
"""Component name"""
|
29
|
-
|
30
|
-
organization: str
|
31
|
-
"""Organization ID"""
|
32
|
-
|
33
|
-
status: Literal["active", "inactive", "draft"]
|
34
|
-
"""Component status"""
|
35
|
-
|
36
|
-
type: Literal[
|
37
|
-
"chat", "flashcards", "scenarios", "practice_test", "audio_recap", "tutor_me", "explainers", "uploads"
|
38
|
-
]
|
39
|
-
"""Component type"""
|
40
|
-
|
41
|
-
updated_at: datetime = FieldInfo(alias="updatedAt")
|
42
|
-
"""Last update timestamp"""
|
43
|
-
|
44
|
-
usage: object
|
45
|
-
"""Usage statistics"""
|
46
|
-
|
47
|
-
description: Optional[str] = None
|
48
|
-
"""Component description"""
|
@@ -1,48 +0,0 @@
|
|
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__ = ["ComponentUpdateResponse"]
|
12
|
-
|
13
|
-
|
14
|
-
class ComponentUpdateResponse(BaseModel):
|
15
|
-
api_id: str = FieldInfo(alias="_id")
|
16
|
-
"""Component ID (MongoDB ObjectId)"""
|
17
|
-
|
18
|
-
component_id: str = FieldInfo(alias="componentId")
|
19
|
-
"""Unique component identifier"""
|
20
|
-
|
21
|
-
config: object
|
22
|
-
"""Component configuration"""
|
23
|
-
|
24
|
-
created_at: datetime = FieldInfo(alias="createdAt")
|
25
|
-
"""Creation timestamp"""
|
26
|
-
|
27
|
-
name: str
|
28
|
-
"""Component name"""
|
29
|
-
|
30
|
-
organization: str
|
31
|
-
"""Organization ID"""
|
32
|
-
|
33
|
-
status: Literal["active", "inactive", "draft"]
|
34
|
-
"""Component status"""
|
35
|
-
|
36
|
-
type: Literal[
|
37
|
-
"chat", "flashcards", "scenarios", "practice_test", "audio_recap", "tutor_me", "explainers", "uploads"
|
38
|
-
]
|
39
|
-
"""Component type"""
|
40
|
-
|
41
|
-
updated_at: datetime = FieldInfo(alias="updatedAt")
|
42
|
-
"""Last update timestamp"""
|
43
|
-
|
44
|
-
usage: object
|
45
|
-
"""Usage statistics"""
|
46
|
-
|
47
|
-
description: Optional[str] = None
|
48
|
-
"""Component description"""
|