studyfetch-sdk 0.1.0a5__py3-none-any.whl → 0.1.0a7__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/auth/__init__.py +0 -14
- studyfetch_sdk/resources/v1/auth/auth.py +0 -32
- studyfetch_sdk/resources/v1/chat/chat.py +13 -15
- studyfetch_sdk/resources/v1/components.py +40 -37
- studyfetch_sdk/resources/v1/explainers.py +80 -0
- 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/scenarios.py +13 -13
- studyfetch_sdk/resources/v1/scenarios/submissions/user.py +50 -50
- studyfetch_sdk/resources/v1/v1.py +48 -48
- studyfetch_sdk/types/v1/__init__.py +7 -12
- studyfetch_sdk/types/v1/auth/__init__.py +0 -2
- 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_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/{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_submit_params.py → scenario_submit_answer_params.py} +2 -2
- {studyfetch_sdk-0.1.0a5.dist-info → studyfetch_sdk-0.1.0a7.dist-info}/METADATA +2 -2
- {studyfetch_sdk-0.1.0a5.dist-info → studyfetch_sdk-0.1.0a7.dist-info}/RECORD +29 -43
- studyfetch_sdk/resources/v1/auth/number_2fa.py +0 -164
- 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/auth/number_2fa_send_code_params.py +0 -12
- 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.0a5.dist-info → studyfetch_sdk-0.1.0a7.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a5.dist-info → studyfetch_sdk-0.1.0a7.dist-info}/licenses/LICENSE +0 -0
@@ -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=FrQHoamgxDQOY_InsExxDNesNfEIlQMXrDlpSwuVaio,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,21 +25,20 @@ 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
|
38
|
-
studyfetch_sdk/resources/v1/auth/__init__.py,sha256=
|
39
|
-
studyfetch_sdk/resources/v1/auth/auth.py,sha256=
|
40
|
-
studyfetch_sdk/resources/v1/auth/number_2fa.py,sha256=QgfvK7_m-Kko29XYyDSlAWFv6l7xRF8t6ndNAW5kBz8,6195
|
38
|
+
studyfetch_sdk/resources/v1/auth/__init__.py,sha256=wtCDK9mkf_r1OZdx0Sy-V3cMeS2EILJWJZfX06zUL2U,526
|
39
|
+
studyfetch_sdk/resources/v1/auth/auth.py,sha256=Oimc3Jjs2Wq3sWpoCHMPMEeF8S8W5xmaJhrRl4FJevM,5075
|
41
40
|
studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
|
42
|
-
studyfetch_sdk/resources/v1/chat/chat.py,sha256=
|
41
|
+
studyfetch_sdk/resources/v1/chat/chat.py,sha256=PFySkZ3HsxthOYe5QZYAKkSwJryo6tE7Tl53f7DscYo,21666
|
43
42
|
studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
|
44
43
|
studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
|
45
44
|
studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
|
@@ -47,16 +46,16 @@ studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE95
|
|
47
46
|
studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
|
48
47
|
studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
|
49
48
|
studyfetch_sdk/resources/v1/materials/bulk.py,sha256=oVAcnbKm8NUBFJIMoj4pEHFb_l1CM7F3Ve9cTApWguo,4843
|
50
|
-
studyfetch_sdk/resources/v1/materials/materials.py,sha256=
|
49
|
+
studyfetch_sdk/resources/v1/materials/materials.py,sha256=dHx9epoBs9-Q2gFm08RMHxo5kETE_dF3yReV_Vf7Fow,38476
|
51
50
|
studyfetch_sdk/resources/v1/materials/test.py,sha256=eGcjGYvPlrlZGrU6AnvZZX5qZ3aLgZgxIrNspXC1rnE,11355
|
52
|
-
studyfetch_sdk/resources/v1/materials/upload.py,sha256=
|
51
|
+
studyfetch_sdk/resources/v1/materials/upload.py,sha256=vXbsicx0pVlrx3LPr7rqOkqHmzBoxFI6lIBScM29zr8,15476
|
53
52
|
studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
|
54
53
|
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=RvB07dib9WtMY3Irr5UPjQIG1Bue9vGVPyhMrSKxwqk,16333
|
55
|
-
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=
|
54
|
+
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=BX4XaOFi-8AbP_75RIlfM26qBxfKt1pzTrC_plEu-04,34910
|
56
55
|
studyfetch_sdk/resources/v1/scenarios/sessions.py,sha256=nTa6kBd5SoCBTm4DoIdH_u_nj1bM5dIbo2yAy-rMzKg,8949
|
57
56
|
studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py,sha256=rTtsEfGVta9DIHDkyL4p32yLV21bFcxkE-LRb_bpFvU,1041
|
58
57
|
studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py,sha256=2wj6bWW4NXw3EjsCDQySGYOAym64QIUzLqp6UelJsqo,3773
|
59
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256
|
58
|
+
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256=n4QlwOw90vyFMGD7Akv_k4ZMyuWT6FNb9o3Fnsl7SZs,7916
|
60
59
|
studyfetch_sdk/resources/v1/tests/__init__.py,sha256=7-K6i3WJPRCoMSOatJEqUhlz74S0wr4S-yrWr2X-LTA,1028
|
61
60
|
studyfetch_sdk/resources/v1/tests/component.py,sha256=MJZIo4-ES4tkY9P1FJl8phjkQxGG8FBCe99ar0I_un4,6013
|
62
61
|
studyfetch_sdk/resources/v1/tests/tests.py,sha256=BGwXClZ8YkzegN80R0WDIrvK3WN1-ujtYkfR33ARhVU,24870
|
@@ -64,26 +63,24 @@ studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3
|
|
64
63
|
studyfetch_sdk/resources/v1/upload/component.py,sha256=BbiKtJ9hC7c7_Wv6Q_Zi_BZJmcusWFRNvBKJqaB75yA,15493
|
65
64
|
studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
|
66
65
|
studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
67
|
-
studyfetch_sdk/types/v1/__init__.py,sha256=
|
68
|
-
studyfetch_sdk/types/v1/
|
66
|
+
studyfetch_sdk/types/v1/__init__.py,sha256=dx6-7-97lowsTjmOKmMKYKOdbN9EVSzCre7SvR4QqiI,3463
|
67
|
+
studyfetch_sdk/types/v1/chat_get_session_params.py,sha256=Iv3O6eF4DvTYTBVQVyVR4trfZNQxFhipLPRWDF_VWq4,378
|
69
68
|
studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=BRxjNsVXsqcBbdrp4J5TQGjjNPJ_bz7uXw3pnc-x0oU,1454
|
70
69
|
studyfetch_sdk/types/v1/chat_stream_params.py,sha256=Aqp2Vdsa35PAH-75kaO_ZYlkqGrCgDZ5EyYTTLRAJoE,695
|
70
|
+
studyfetch_sdk/types/v1/component.py,sha256=ye8BDfb0taD0WwEWJDpi4cXH0iwKqzom0SQQA1nbO4c,1166
|
71
71
|
studyfetch_sdk/types/v1/component_create_params.py,sha256=ec6urTYr_9KEvITea9qThEIVFgWhRbY8tUhyk2RQHQQ,10496
|
72
|
-
studyfetch_sdk/types/v1/
|
73
|
-
studyfetch_sdk/types/v1/
|
74
|
-
studyfetch_sdk/types/v1/component_embed_response.py,sha256=PUr_rBcSsww_FFIAUh6hjXWzCJ6kMENY970dDNtpnpY,906
|
72
|
+
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=keiOzDzPCvacAWHQj_OtF2pGjEAqxwjNriBGxRaRQNk,3068
|
73
|
+
studyfetch_sdk/types/v1/component_generate_embed_response.py,sha256=xhbqEpAt_Q7yzD4xjWITs_jXYUD6ElrH4aQfNEunI3Y,922
|
75
74
|
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
|
75
|
+
studyfetch_sdk/types/v1/component_list_response.py,sha256=BYGoH8x8UJdekr8HXdbcOw_LoKWULlIdN6sn1uL5RuY,274
|
78
76
|
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
77
|
studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
|
81
78
|
studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
|
82
79
|
studyfetch_sdk/types/v1/explainer_create_params.py,sha256=DfTTxdkaUezNpD3TwTSyWZDsqcj3ZQ_pi-NiFmhldCk,1365
|
83
80
|
studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=FroVkIVnrp3n_Jf5q5gfl4OaL41gswNRG2EZHXaeekY,1426
|
84
81
|
studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
|
85
82
|
studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
|
86
|
-
studyfetch_sdk/types/v1/
|
83
|
+
studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py,sha256=HdX5UB4l-jZpNpLN0-UZfQL2nxpd-dmypxO-dQEH8Eo,863
|
87
84
|
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=VVEPwJ1sQ03CqUWM-bvmPmy4M2j2MEMvTPU6Qp7aflk,563
|
88
85
|
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=n_05aRmk05p-WXctVdE57Gm-lMChCn-efmy1Tl2Kq-Q,509
|
89
86
|
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=ghcZfsKIM4au3PtoBpiw-3iGNEy-86co8vzIqLKhZ9o,483
|
@@ -92,14 +89,13 @@ studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpm
|
|
92
89
|
studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
|
93
90
|
studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
|
94
91
|
studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
|
92
|
+
studyfetch_sdk/types/v1/material.py,sha256=oiS1alAiO5X8nKMeSUd6AIiQaDLiF72QTMJDukqs32U,1615
|
95
93
|
studyfetch_sdk/types/v1/material_create_params.py,sha256=mYjnlTBvz_aInnnqO7FiNEHbqAUBWbJ0pBm8ppUoELM,899
|
96
|
-
studyfetch_sdk/types/v1/material_create_response.py,sha256=0melSQ8cXHwMcme2pd-VFyU63-xEmmuCCE7d26p7ba4,1643
|
97
94
|
studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=7prrB3K-E4xAWUQlaH_YBCEB7u9WHQSc9pE1NvO88Ts,400
|
98
95
|
studyfetch_sdk/types/v1/material_list_params.py,sha256=8yd556-GB4Xw-NFGshxm_Hx-nIG-MAg4dPtn-W38w3k,388
|
99
|
-
studyfetch_sdk/types/v1/material_list_response.py,sha256=
|
100
|
-
studyfetch_sdk/types/v1/material_retrieve_response.py,sha256=LtW5GDV5KExzVY1QmR0K0yp60rVQibBbE7pPPEUe2G0,1647
|
96
|
+
studyfetch_sdk/types/v1/material_list_response.py,sha256=mYCoEQJT6sxJd35nchrBf7BJpRHWWH1CbgZNz3QBPQg,269
|
101
97
|
studyfetch_sdk/types/v1/scenario_create_params.py,sha256=anCK913P4vYEtgY6GnxxxCxRnUazeV1H1NoyBV78sT8,1281
|
102
|
-
studyfetch_sdk/types/v1/
|
98
|
+
studyfetch_sdk/types/v1/scenario_submit_answer_params.py,sha256=g1idbU9OxRC_qrU7bOVNuFcXtKa2ZiJgy7KBR2mJWSM,597
|
103
99
|
studyfetch_sdk/types/v1/scenario_update_params.py,sha256=q-PB0dS3s2S9q_JCm46UWB-Dy2WVSUiAw3C6v6lq7XA,1281
|
104
100
|
studyfetch_sdk/types/v1/test_create_params.py,sha256=-MrR4d4Igyp7FD9xni5Rh_Gn3JgCZyYGagXUG3GDvQc,537
|
105
101
|
studyfetch_sdk/types/v1/test_retake_params.py,sha256=pSxTOQ8Io9D_ZquvrbwdbUGtpjG-idDfBd-28i6gQVM,379
|
@@ -108,32 +104,22 @@ studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpV
|
|
108
104
|
studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
|
109
105
|
studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
|
110
106
|
studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=iMhwqdlaEbtyBqlTpAEcTdYCQumwWVmYBo8czDPLm74,1729
|
111
|
-
studyfetch_sdk/types/v1/admin/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
112
|
-
studyfetch_sdk/types/v1/admin/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
113
|
-
studyfetch_sdk/types/v1/admin/organizations/models/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
114
107
|
studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
115
|
-
studyfetch_sdk/types/v1/auth/__init__.py,sha256=
|
116
|
-
studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py,sha256=kb8JNsBwu45iiCr7FFLSADKccPN4dgIVQWEleTNSr50,336
|
108
|
+
studyfetch_sdk/types/v1/auth/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
117
109
|
studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
|
118
110
|
studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
|
119
111
|
studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
|
120
112
|
studyfetch_sdk/types/v1/embed/component_interact_params.py,sha256=IdYB5R3TK9KaOQgXP8HbDA4_1bmkPeCxNSORu_Pl1Y0,341
|
121
113
|
studyfetch_sdk/types/v1/embed/component_retrieve_params.py,sha256=At4Eu0g84kblyZVKKBjwtFBc5UcG3XbhS97RkDgysMs,316
|
122
|
-
studyfetch_sdk/types/v1/materials/__init__.py,sha256=
|
114
|
+
studyfetch_sdk/types/v1/materials/__init__.py,sha256=dUjFp8sMxIHguGTJiFUSn-94pC07-usforU8UL9O4SE,309
|
123
115
|
studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=gfWhDYiYupBpxiSkJoJ2asgcBpYaXaMsZ55NxM-7rVg,521
|
124
|
-
studyfetch_sdk/types/v1/materials/upload_upload_file_response.py,sha256=MSFNyGpNM7m_OP3dLUuATptAgY32k7EzB_YOrbxqysM,1648
|
125
116
|
studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
|
126
|
-
studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py,sha256=iulaqSN3i-WWN90Oh5XoxQDUaWPkfauzU0ODABTN0hg,1654
|
127
|
-
studyfetch_sdk/types/v1/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
128
|
-
studyfetch_sdk/types/v1/organizations/logo/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
129
|
-
studyfetch_sdk/types/v1/organizations/profile/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
130
|
-
studyfetch_sdk/types/v1/organizations/team/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
131
117
|
studyfetch_sdk/types/v1/scenarios/__init__.py,sha256=2DyrawNlb-TstNKw0gUMlQaNSq-UAUcLhmOGElM0l0U,207
|
132
118
|
studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=_Rs0wRJtrLMKyQCGH3hrpMjWG1fHJwD3QaTyeOfdZMA,1289
|
133
119
|
studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
134
120
|
studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
135
121
|
studyfetch_sdk/types/v1/upload/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
136
|
-
studyfetch_sdk-0.1.
|
137
|
-
studyfetch_sdk-0.1.
|
138
|
-
studyfetch_sdk-0.1.
|
139
|
-
studyfetch_sdk-0.1.
|
122
|
+
studyfetch_sdk-0.1.0a7.dist-info/METADATA,sha256=Ogws8-R96EM87u6CseFVEzOobtTwRi0zbLLm9HzboWM,14736
|
123
|
+
studyfetch_sdk-0.1.0a7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
124
|
+
studyfetch_sdk-0.1.0a7.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
|
125
|
+
studyfetch_sdk-0.1.0a7.dist-info/RECORD,,
|
@@ -1,164 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
8
|
-
from ...._utils import maybe_transform, async_maybe_transform
|
9
|
-
from ...._compat import cached_property
|
10
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
11
|
-
from ...._response import (
|
12
|
-
to_raw_response_wrapper,
|
13
|
-
to_streamed_response_wrapper,
|
14
|
-
async_to_raw_response_wrapper,
|
15
|
-
async_to_streamed_response_wrapper,
|
16
|
-
)
|
17
|
-
from ...._base_client import make_request_options
|
18
|
-
from ....types.v1.auth import number_2fa_send_code_params
|
19
|
-
|
20
|
-
__all__ = ["Number2faResource", "AsyncNumber2faResource"]
|
21
|
-
|
22
|
-
|
23
|
-
class Number2faResource(SyncAPIResource):
|
24
|
-
@cached_property
|
25
|
-
def with_raw_response(self) -> Number2faResourceWithRawResponse:
|
26
|
-
"""
|
27
|
-
This property can be used as a prefix for any HTTP method call to return
|
28
|
-
the raw response object instead of the parsed content.
|
29
|
-
|
30
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
31
|
-
"""
|
32
|
-
return Number2faResourceWithRawResponse(self)
|
33
|
-
|
34
|
-
@cached_property
|
35
|
-
def with_streaming_response(self) -> Number2faResourceWithStreamingResponse:
|
36
|
-
"""
|
37
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
38
|
-
|
39
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
40
|
-
"""
|
41
|
-
return Number2faResourceWithStreamingResponse(self)
|
42
|
-
|
43
|
-
def send_code(
|
44
|
-
self,
|
45
|
-
*,
|
46
|
-
email: str,
|
47
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
48
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
49
|
-
extra_headers: Headers | None = None,
|
50
|
-
extra_query: Query | None = None,
|
51
|
-
extra_body: Body | None = None,
|
52
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
53
|
-
) -> None:
|
54
|
-
"""
|
55
|
-
Args:
|
56
|
-
email: Email to send verification code
|
57
|
-
|
58
|
-
extra_headers: Send extra headers
|
59
|
-
|
60
|
-
extra_query: Add additional query parameters to the request
|
61
|
-
|
62
|
-
extra_body: Add additional JSON properties to the request
|
63
|
-
|
64
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
65
|
-
"""
|
66
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
67
|
-
return self._post(
|
68
|
-
"/api/v1/auth/2fa/send-code",
|
69
|
-
body=maybe_transform({"email": email}, number_2fa_send_code_params.Number2faSendCodeParams),
|
70
|
-
options=make_request_options(
|
71
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
72
|
-
),
|
73
|
-
cast_to=NoneType,
|
74
|
-
)
|
75
|
-
|
76
|
-
|
77
|
-
class AsyncNumber2faResource(AsyncAPIResource):
|
78
|
-
@cached_property
|
79
|
-
def with_raw_response(self) -> AsyncNumber2faResourceWithRawResponse:
|
80
|
-
"""
|
81
|
-
This property can be used as a prefix for any HTTP method call to return
|
82
|
-
the raw response object instead of the parsed content.
|
83
|
-
|
84
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
85
|
-
"""
|
86
|
-
return AsyncNumber2faResourceWithRawResponse(self)
|
87
|
-
|
88
|
-
@cached_property
|
89
|
-
def with_streaming_response(self) -> AsyncNumber2faResourceWithStreamingResponse:
|
90
|
-
"""
|
91
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
92
|
-
|
93
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
94
|
-
"""
|
95
|
-
return AsyncNumber2faResourceWithStreamingResponse(self)
|
96
|
-
|
97
|
-
async def send_code(
|
98
|
-
self,
|
99
|
-
*,
|
100
|
-
email: str,
|
101
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
102
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
103
|
-
extra_headers: Headers | None = None,
|
104
|
-
extra_query: Query | None = None,
|
105
|
-
extra_body: Body | None = None,
|
106
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
107
|
-
) -> None:
|
108
|
-
"""
|
109
|
-
Args:
|
110
|
-
email: Email to send verification code
|
111
|
-
|
112
|
-
extra_headers: Send extra headers
|
113
|
-
|
114
|
-
extra_query: Add additional query parameters to the request
|
115
|
-
|
116
|
-
extra_body: Add additional JSON properties to the request
|
117
|
-
|
118
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
119
|
-
"""
|
120
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
121
|
-
return await self._post(
|
122
|
-
"/api/v1/auth/2fa/send-code",
|
123
|
-
body=await async_maybe_transform({"email": email}, number_2fa_send_code_params.Number2faSendCodeParams),
|
124
|
-
options=make_request_options(
|
125
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
126
|
-
),
|
127
|
-
cast_to=NoneType,
|
128
|
-
)
|
129
|
-
|
130
|
-
|
131
|
-
class Number2faResourceWithRawResponse:
|
132
|
-
def __init__(self, number_2fa: Number2faResource) -> None:
|
133
|
-
self._number_2fa = number_2fa
|
134
|
-
|
135
|
-
self.send_code = to_raw_response_wrapper(
|
136
|
-
number_2fa.send_code,
|
137
|
-
)
|
138
|
-
|
139
|
-
|
140
|
-
class AsyncNumber2faResourceWithRawResponse:
|
141
|
-
def __init__(self, number_2fa: AsyncNumber2faResource) -> None:
|
142
|
-
self._number_2fa = number_2fa
|
143
|
-
|
144
|
-
self.send_code = async_to_raw_response_wrapper(
|
145
|
-
number_2fa.send_code,
|
146
|
-
)
|
147
|
-
|
148
|
-
|
149
|
-
class Number2faResourceWithStreamingResponse:
|
150
|
-
def __init__(self, number_2fa: Number2faResource) -> None:
|
151
|
-
self._number_2fa = number_2fa
|
152
|
-
|
153
|
-
self.send_code = to_streamed_response_wrapper(
|
154
|
-
number_2fa.send_code,
|
155
|
-
)
|
156
|
-
|
157
|
-
|
158
|
-
class AsyncNumber2faResourceWithStreamingResponse:
|
159
|
-
def __init__(self, number_2fa: AsyncNumber2faResource) -> None:
|
160
|
-
self._number_2fa = number_2fa
|
161
|
-
|
162
|
-
self.send_code = async_to_streamed_response_wrapper(
|
163
|
-
number_2fa.send_code,
|
164
|
-
)
|
@@ -1,12 +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, TypedDict
|
6
|
-
|
7
|
-
__all__ = ["Number2faSendCodeParams"]
|
8
|
-
|
9
|
-
|
10
|
-
class Number2faSendCodeParams(TypedDict, total=False):
|
11
|
-
email: Required[str]
|
12
|
-
"""Email to send verification code"""
|
@@ -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"""
|
@@ -1,62 +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__ = ["MaterialRetrieveResponse", "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 MaterialRetrieveResponse(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
|
-
metadata: Optional[object] = None
|
59
|
-
"""Material metadata"""
|
60
|
-
|
61
|
-
usage: Optional[object] = None
|
62
|
-
"""Usage information"""
|
@@ -1,62 +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__ = ["UploadUploadFileResponse", "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 UploadUploadFileResponse(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
|
-
metadata: Optional[object] = None
|
59
|
-
"""Material metadata"""
|
60
|
-
|
61
|
-
usage: Optional[object] = None
|
62
|
-
"""Usage information"""
|
@@ -1,62 +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__ = ["UploadUploadFromURLResponse", "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 UploadUploadFromURLResponse(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
|
-
metadata: Optional[object] = None
|
59
|
-
"""Material metadata"""
|
60
|
-
|
61
|
-
usage: Optional[object] = None
|
62
|
-
"""Usage information"""
|