studyfetch-sdk 0.1.0a2__py3-none-any.whl → 0.1.0a4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- studyfetch_sdk/_version.py +1 -1
- studyfetch_sdk/resources/v1/__init__.py +0 -14
- studyfetch_sdk/resources/v1/auth/__init__.py +0 -28
- studyfetch_sdk/resources/v1/auth/auth.py +0 -504
- studyfetch_sdk/resources/v1/auth/number_2fa.py +1 -294
- studyfetch_sdk/resources/v1/chat/chat.py +7 -7
- studyfetch_sdk/resources/v1/components.py +9 -8
- studyfetch_sdk/resources/v1/flashcards.py +16 -16
- studyfetch_sdk/resources/v1/usage.py +1 -593
- studyfetch_sdk/resources/v1/v1.py +0 -32
- studyfetch_sdk/types/v1/__init__.py +0 -5
- studyfetch_sdk/types/v1/auth/__init__.py +0 -8
- studyfetch_sdk/types/v1/chat_send_message_params.py +3 -3
- studyfetch_sdk/types/v1/component_create_params.py +295 -3
- studyfetch_sdk/types/v1/component_create_response.py +3 -1
- studyfetch_sdk/types/v1/component_embed_params.py +3 -2
- studyfetch_sdk/types/v1/component_list_response.py +3 -1
- studyfetch_sdk/types/v1/component_retrieve_response.py +3 -1
- studyfetch_sdk/types/v1/component_update_response.py +3 -1
- studyfetch_sdk/types/v1/flashcard_get_all_params.py +2 -2
- studyfetch_sdk/types/v1/flashcard_get_due_params.py +1 -1
- studyfetch_sdk/types/v1/flashcard_get_stats_params.py +2 -2
- {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/METADATA +11 -35
- {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/RECORD +26 -54
- studyfetch_sdk/resources/v1/auth/login.py +0 -374
- studyfetch_sdk/resources/v1/auth/organization_invites.py +0 -160
- studyfetch_sdk/resources/v1/organizations/__init__.py +0 -103
- studyfetch_sdk/resources/v1/organizations/api_keys.py +0 -260
- studyfetch_sdk/resources/v1/organizations/logo/__init__.py +0 -33
- studyfetch_sdk/resources/v1/organizations/logo/logo.py +0 -166
- studyfetch_sdk/resources/v1/organizations/logo/upload.py +0 -184
- studyfetch_sdk/resources/v1/organizations/organizations.py +0 -428
- studyfetch_sdk/resources/v1/organizations/profile/__init__.py +0 -47
- studyfetch_sdk/resources/v1/organizations/profile/models.py +0 -134
- studyfetch_sdk/resources/v1/organizations/profile/profile.py +0 -248
- studyfetch_sdk/resources/v1/organizations/profile/team.py +0 -462
- studyfetch_sdk/resources/v1/organizations/team/__init__.py +0 -33
- studyfetch_sdk/resources/v1/organizations/team/invite.py +0 -236
- studyfetch_sdk/resources/v1/organizations/team/team.py +0 -564
- studyfetch_sdk/resources/v1/organizations/theme.py +0 -184
- studyfetch_sdk/resources/v1/organizations/usage.py +0 -210
- studyfetch_sdk/types/v1/auth/login_authenticate_params.py +0 -15
- studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py +0 -15
- studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py +0 -17
- studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py +0 -12
- studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py +0 -12
- studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py +0 -12
- studyfetch_sdk/types/v1/auth_register_new_user_params.py +0 -23
- studyfetch_sdk/types/v1/auth_request_password_reset_params.py +0 -12
- studyfetch_sdk/types/v1/auth_reset_password_params.py +0 -17
- studyfetch_sdk/types/v1/usage_track_chat_params.py +0 -54
- studyfetch_sdk/types/v1/usage_track_event_params.py +0 -128
- {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a2.dist-info → studyfetch_sdk-0.1.0a4.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=PoPZ_kT3sPR6WjcswmbEnX77TlwtNlTb0W2Zc9OpZA4,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,23 +25,21 @@ 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=
|
28
|
+
studyfetch_sdk/resources/v1/__init__.py,sha256=Xbao5pcvo3A7m4Px9Xts0hh-DX1HKq2E1-TUM78plbA,6572
|
29
|
+
studyfetch_sdk/resources/v1/components.py,sha256=omSiBUsNpgsPcp-aACKs_itOdKw7Nbj2ASV4W5NAnwQ,35554
|
30
30
|
studyfetch_sdk/resources/v1/explainers.py,sha256=dFk7044_qcf16Ia2VdEJ_dRRdnJeyHALNDHu6PVFbIM,8351
|
31
|
-
studyfetch_sdk/resources/v1/flashcards.py,sha256
|
31
|
+
studyfetch_sdk/resources/v1/flashcards.py,sha256=-RKKuU3SQEZtXeCr1SasxuK1pMQO2FZzesvBeIoCGqo,29317
|
32
32
|
studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
|
33
|
-
studyfetch_sdk/resources/v1/usage.py,sha256
|
34
|
-
studyfetch_sdk/resources/v1/v1.py,sha256=
|
33
|
+
studyfetch_sdk/resources/v1/usage.py,sha256=78OlA8pT13Ggja84nHdJJQoKSn7GjDO3SefPyxsCYWo,18513
|
34
|
+
studyfetch_sdk/resources/v1/v1.py,sha256=evx06-nLZCC2mxmaEqb_3H_iq0br3D01dBC-PpvTASc,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/
|
41
|
-
studyfetch_sdk/resources/v1/auth/number_2fa.py,sha256=j-6RVRgmzE5inX5s03jYrImqpxSUBumfhj6RRM9uAfQ,17902
|
42
|
-
studyfetch_sdk/resources/v1/auth/organization_invites.py,sha256=oFIx5UyMBK2fylD_C41Oc4Hdv52Yk96B6TaoVseSLco,6373
|
38
|
+
studyfetch_sdk/resources/v1/auth/__init__.py,sha256=YoujojaKcfwWPoS9E2_PYpMbgs6lswtGD01CMMrQ4iI,1016
|
39
|
+
studyfetch_sdk/resources/v1/auth/auth.py,sha256=3YdW8S67YtkPtNvBvyKtyqiY7fU09vkwCCfR_hgdU3Q,6234
|
40
|
+
studyfetch_sdk/resources/v1/auth/number_2fa.py,sha256=QgfvK7_m-Kko29XYyDSlAWFv6l7xRF8t6ndNAW5kBz8,6195
|
43
41
|
studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
|
44
|
-
studyfetch_sdk/resources/v1/chat/chat.py,sha256=
|
42
|
+
studyfetch_sdk/resources/v1/chat/chat.py,sha256=3gyxkarOmcRC9Ef1U3zvCRyUjJ2-ZBwtY1sX0ubq7qI,21779
|
45
43
|
studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
|
46
44
|
studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
|
47
45
|
studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
|
@@ -52,21 +50,6 @@ studyfetch_sdk/resources/v1/materials/bulk.py,sha256=oVAcnbKm8NUBFJIMoj4pEHFb_l1
|
|
52
50
|
studyfetch_sdk/resources/v1/materials/materials.py,sha256=k6eflgtL96qQ3veEC6YO3eBksMwZ5JrLrkDku9u87mk,38703
|
53
51
|
studyfetch_sdk/resources/v1/materials/test.py,sha256=eGcjGYvPlrlZGrU6AnvZZX5qZ3aLgZgxIrNspXC1rnE,11355
|
54
52
|
studyfetch_sdk/resources/v1/materials/upload.py,sha256=5GyF1aIaxUHCKTiTz-12IbKF6IcFv4xZWAjVJFpT27o,15726
|
55
|
-
studyfetch_sdk/resources/v1/organizations/__init__.py,sha256=nxwTfS8HPuQuQ0fXIX4ySzGmeYyV0LH0wNCQrUp3wwg,3292
|
56
|
-
studyfetch_sdk/resources/v1/organizations/api_keys.py,sha256=Z2vGVlvYD1IwnKd8keZYhTq_5oy_qJS0sWbRJb3lNWs,10169
|
57
|
-
studyfetch_sdk/resources/v1/organizations/organizations.py,sha256=gBuAMUS08jDmlwbDk5x2SME4EREH80sqPrRm2syUz-I,15522
|
58
|
-
studyfetch_sdk/resources/v1/organizations/theme.py,sha256=xJSGkkwZ8XmNBPVF8H9QqqUrk5vbC0_I17s2NDQL1dA,6915
|
59
|
-
studyfetch_sdk/resources/v1/organizations/usage.py,sha256=bijjilTybOhseOIcvmvdmkI2vHTEXcCWEkpeEKjGRyI,7823
|
60
|
-
studyfetch_sdk/resources/v1/organizations/logo/__init__.py,sha256=l-2_gFYhRh9IRO1cQbrcmtIw1v1O8sQ4zZLzH8bpWyQ,976
|
61
|
-
studyfetch_sdk/resources/v1/organizations/logo/logo.py,sha256=6oiSbcPpTWKq2Wd0nKBvGtEAQp2JC96R6ziDT17RuLw,5971
|
62
|
-
studyfetch_sdk/resources/v1/organizations/logo/upload.py,sha256=_CuwXIv6-1j5mHOz-DoazRzbRvumOaACjSV1aYY2bco,7144
|
63
|
-
studyfetch_sdk/resources/v1/organizations/profile/__init__.py,sha256=-h5lc5cTZb8BtI_geWiZ3mWMvKf1OE-e3UV9xvL0Cjg,1439
|
64
|
-
studyfetch_sdk/resources/v1/organizations/profile/models.py,sha256=7bvTpVtSYjWNba96oVmPEMb6h5wcNGZ7tzbFkPTqqhk,5096
|
65
|
-
studyfetch_sdk/resources/v1/organizations/profile/profile.py,sha256=AZMvtv23aRbopiYGzbdk6sQSOiyW8UsPglDj8r1WX68,9130
|
66
|
-
studyfetch_sdk/resources/v1/organizations/profile/team.py,sha256=vUaZYZoTz5M2I9Gze4UxyN7PFeHGjUWxRLm32kkkqWY,18164
|
67
|
-
studyfetch_sdk/resources/v1/organizations/team/__init__.py,sha256=b5rTOSxGlTF7UMMro_1aOs95sIE1tyLodcznOF6pdYY,976
|
68
|
-
studyfetch_sdk/resources/v1/organizations/team/invite.py,sha256=hA1UBTmvt7jiNUM7FRR3pEkl6XUkKxMVd-gtrAyjngA,8928
|
69
|
-
studyfetch_sdk/resources/v1/organizations/team/team.py,sha256=pm_AiKSluwFUiirB3W7qqzF4zsqX6gRJO4Blak-C_Bw,21769
|
70
53
|
studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
|
71
54
|
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=YS-NSqVjOBGggQn1cZfu-mH7V_BqUZZss2MdPItWEvA,12724
|
72
55
|
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=LSJc70kBRc4k_hQXu-HcToj2GJNpRO6pj9NDlM_xQcc,26758
|
@@ -81,31 +64,28 @@ studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3
|
|
81
64
|
studyfetch_sdk/resources/v1/upload/component.py,sha256=BbiKtJ9hC7c7_Wv6Q_Zi_BZJmcusWFRNvBKJqaB75yA,15493
|
82
65
|
studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
|
83
66
|
studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
84
|
-
studyfetch_sdk/types/v1/__init__.py,sha256=
|
85
|
-
studyfetch_sdk/types/v1/auth_register_new_user_params.py,sha256=PVEh3trrdCchboy8jdgNaD_T5O5hFMwPnldbuLAD4BY,594
|
86
|
-
studyfetch_sdk/types/v1/auth_request_password_reset_params.py,sha256=FsJ4ThlxM4-la4T-Ye7rC-S6fz01hhba7Yn3mDxV0Pc,351
|
87
|
-
studyfetch_sdk/types/v1/auth_reset_password_params.py,sha256=ySejlSKXbcMxfsgImrEY4zUdTQZsbeKI2JVfPgqSNyo,485
|
67
|
+
studyfetch_sdk/types/v1/__init__.py,sha256=aywccrChxnRGCoeK_FDPra7X3SKnfnyzI2oKmOyD0V4,3633
|
88
68
|
studyfetch_sdk/types/v1/chat_retrieve_session_params.py,sha256=j_egNBvVvOwAHQGayY5002fE_KK1q775XuIKlokEBsQ,388
|
89
|
-
studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=
|
69
|
+
studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=BRxjNsVXsqcBbdrp4J5TQGjjNPJ_bz7uXw3pnc-x0oU,1454
|
90
70
|
studyfetch_sdk/types/v1/chat_stream_params.py,sha256=Aqp2Vdsa35PAH-75kaO_ZYlkqGrCgDZ5EyYTTLRAJoE,695
|
91
|
-
studyfetch_sdk/types/v1/component_create_params.py,sha256=
|
92
|
-
studyfetch_sdk/types/v1/component_create_response.py,sha256=
|
93
|
-
studyfetch_sdk/types/v1/component_embed_params.py,sha256=
|
71
|
+
studyfetch_sdk/types/v1/component_create_params.py,sha256=30lbEq-sy5L6FaMFXu-3Vxo-Ebx9Ir0mnYFTPZ4k5G8,8937
|
72
|
+
studyfetch_sdk/types/v1/component_create_response.py,sha256=zfrTvGBNGY_N5doR9CAg6DgJgFWXoi4iXiiwEgvipKo,1194
|
73
|
+
studyfetch_sdk/types/v1/component_embed_params.py,sha256=hw7NcUe_QeYxrJ46qojicj8OVDY1KpRGHBPKgfx5FZc,3052
|
94
74
|
studyfetch_sdk/types/v1/component_embed_response.py,sha256=PUr_rBcSsww_FFIAUh6hjXWzCJ6kMENY970dDNtpnpY,906
|
95
75
|
studyfetch_sdk/types/v1/component_list_params.py,sha256=R8NMK7r37CpqmbAWdbs6rEF1LigoYrE3BXksJCCdKEQ,431
|
96
|
-
studyfetch_sdk/types/v1/component_list_response.py,sha256=
|
97
|
-
studyfetch_sdk/types/v1/component_retrieve_response.py,sha256=
|
76
|
+
studyfetch_sdk/types/v1/component_list_response.py,sha256=smVy_fILAm7kwzqncvGCIMMe5C2MrcRvKLPv41MF5iw,1309
|
77
|
+
studyfetch_sdk/types/v1/component_retrieve_response.py,sha256=Yeg2h0foE-atwpRzrhdWUakRP83_7nvkfMfHPf4CT28,1198
|
98
78
|
studyfetch_sdk/types/v1/component_update_params.py,sha256=IkSFyldrto9H_F_4GWIGG1WYpYFEuYsAi-29dmo9vno,365
|
99
|
-
studyfetch_sdk/types/v1/component_update_response.py,sha256=
|
79
|
+
studyfetch_sdk/types/v1/component_update_response.py,sha256=Red-3gvU3gf0uxbxFCtk88D7zXgq_qpqMo-15w-fUh4,1194
|
100
80
|
studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
|
101
81
|
studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
|
102
82
|
studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=woKIx4423Cuk15DNTQ3XfPWsZx5Ewm5KALkgB6wT4Sc,303
|
103
83
|
studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
|
104
84
|
studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
|
105
85
|
studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py,sha256=DXyISqmGJlqgjyrcAmjO2lrNFqFiwGSI6JPr6niSE0A,871
|
106
|
-
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=
|
107
|
-
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=
|
108
|
-
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=
|
86
|
+
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=VVEPwJ1sQ03CqUWM-bvmPmy4M2j2MEMvTPU6Qp7aflk,563
|
87
|
+
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=n_05aRmk05p-WXctVdE57Gm-lMChCn-efmy1Tl2Kq-Q,509
|
88
|
+
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=ghcZfsKIM4au3PtoBpiw-3iGNEy-86co8vzIqLKhZ9o,483
|
109
89
|
studyfetch_sdk/types/v1/flashcard_get_types_response.py,sha256=5Ik-pRsivsnFTytCNvnw0cDZA-95ONMxNY2goXUucLI,371
|
110
90
|
studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpmkSmIS9JUzLg2t3_oez8,630
|
111
91
|
studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
|
@@ -126,19 +106,11 @@ studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpV
|
|
126
106
|
studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
|
127
107
|
studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
|
128
108
|
studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=iMhwqdlaEbtyBqlTpAEcTdYCQumwWVmYBo8czDPLm74,1729
|
129
|
-
studyfetch_sdk/types/v1/usage_track_chat_params.py,sha256=EqQK42Ane6NQPtwl9Big5s_kXQGX_YkTwgq9JKJYuNE,1569
|
130
|
-
studyfetch_sdk/types/v1/usage_track_event_params.py,sha256=2ndKMcTEm32UPAY1wmlX-nUNqyU9LK69ZxI2zF_luhc,3846
|
131
109
|
studyfetch_sdk/types/v1/admin/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
132
110
|
studyfetch_sdk/types/v1/admin/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
133
111
|
studyfetch_sdk/types/v1/admin/organizations/models/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
134
112
|
studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
135
|
-
studyfetch_sdk/types/v1/auth/__init__.py,sha256=
|
136
|
-
studyfetch_sdk/types/v1/auth/login_authenticate_params.py,sha256=WnpZrBOJdatjcbHY-AsZpIux6Zp7MOj6LxzuizGk-KA,376
|
137
|
-
studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py,sha256=NbTHDWhrk6YVLe2--iA-itVWzxaIJ7HsTD_or08KwBM,378
|
138
|
-
studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py,sha256=NRbPsoEN2thAqbWK6330v6-qojgQs2mPY5Uo2Pe2EOY,478
|
139
|
-
studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py,sha256=6R-R6At9eludw5Z8ncESdG2zMsm0nqly5--Ge7DTco0,336
|
140
|
-
studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py,sha256=EGacVeJnClDL-pH1y-_8V1DTvC30EDDZxBopvUpqLR8,334
|
141
|
-
studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py,sha256=aZSr5r6NVZxKm2yy5SpHN263_oWx63kmalKJUc6BzS8,364
|
113
|
+
studyfetch_sdk/types/v1/auth/__init__.py,sha256=kmP7LURAJVk6-7RX73vhbBFvQzj5-acFH7_zNbJNbrs,215
|
142
114
|
studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py,sha256=kb8JNsBwu45iiCr7FFLSADKccPN4dgIVQWEleTNSr50,336
|
143
115
|
studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
|
144
116
|
studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
|
@@ -159,7 +131,7 @@ studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=BDHJzJiiTVqS
|
|
159
131
|
studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
160
132
|
studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
161
133
|
studyfetch_sdk/types/v1/upload/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
162
|
-
studyfetch_sdk-0.1.
|
163
|
-
studyfetch_sdk-0.1.
|
164
|
-
studyfetch_sdk-0.1.
|
165
|
-
studyfetch_sdk-0.1.
|
134
|
+
studyfetch_sdk-0.1.0a4.dist-info/METADATA,sha256=LzluIMWUivn1ko--oLfNtbiKSiGU13nGh5-8hWIyKJI,14826
|
135
|
+
studyfetch_sdk-0.1.0a4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
136
|
+
studyfetch_sdk-0.1.0a4.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
|
137
|
+
studyfetch_sdk-0.1.0a4.dist-info/RECORD,,
|
@@ -1,374 +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 login_verify_2fa_params, login_authenticate_params, login_verify_backup_code_params
|
19
|
-
|
20
|
-
__all__ = ["LoginResource", "AsyncLoginResource"]
|
21
|
-
|
22
|
-
|
23
|
-
class LoginResource(SyncAPIResource):
|
24
|
-
@cached_property
|
25
|
-
def with_raw_response(self) -> LoginResourceWithRawResponse:
|
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 LoginResourceWithRawResponse(self)
|
33
|
-
|
34
|
-
@cached_property
|
35
|
-
def with_streaming_response(self) -> LoginResourceWithStreamingResponse:
|
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 LoginResourceWithStreamingResponse(self)
|
42
|
-
|
43
|
-
def authenticate(
|
44
|
-
self,
|
45
|
-
*,
|
46
|
-
email: str,
|
47
|
-
password: str,
|
48
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
49
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
50
|
-
extra_headers: Headers | None = None,
|
51
|
-
extra_query: Query | None = None,
|
52
|
-
extra_body: Body | None = None,
|
53
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
54
|
-
) -> None:
|
55
|
-
"""
|
56
|
-
Args:
|
57
|
-
email: User email address
|
58
|
-
|
59
|
-
password: User password
|
60
|
-
|
61
|
-
extra_headers: Send extra headers
|
62
|
-
|
63
|
-
extra_query: Add additional query parameters to the request
|
64
|
-
|
65
|
-
extra_body: Add additional JSON properties to the request
|
66
|
-
|
67
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
68
|
-
"""
|
69
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
70
|
-
return self._post(
|
71
|
-
"/api/v1/auth/login",
|
72
|
-
body=maybe_transform(
|
73
|
-
{
|
74
|
-
"email": email,
|
75
|
-
"password": password,
|
76
|
-
},
|
77
|
-
login_authenticate_params.LoginAuthenticateParams,
|
78
|
-
),
|
79
|
-
options=make_request_options(
|
80
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
81
|
-
),
|
82
|
-
cast_to=NoneType,
|
83
|
-
)
|
84
|
-
|
85
|
-
def verify_2fa(
|
86
|
-
self,
|
87
|
-
*,
|
88
|
-
code: str,
|
89
|
-
email: str,
|
90
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
91
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
92
|
-
extra_headers: Headers | None = None,
|
93
|
-
extra_query: Query | None = None,
|
94
|
-
extra_body: Body | None = None,
|
95
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
96
|
-
) -> None:
|
97
|
-
"""
|
98
|
-
Args:
|
99
|
-
code: 6-digit verification code
|
100
|
-
|
101
|
-
email: User email address
|
102
|
-
|
103
|
-
extra_headers: Send extra headers
|
104
|
-
|
105
|
-
extra_query: Add additional query parameters to the request
|
106
|
-
|
107
|
-
extra_body: Add additional JSON properties to the request
|
108
|
-
|
109
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
110
|
-
"""
|
111
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
112
|
-
return self._post(
|
113
|
-
"/api/v1/auth/login/verify-2fa",
|
114
|
-
body=maybe_transform(
|
115
|
-
{
|
116
|
-
"code": code,
|
117
|
-
"email": email,
|
118
|
-
},
|
119
|
-
login_verify_2fa_params.LoginVerify2faParams,
|
120
|
-
),
|
121
|
-
options=make_request_options(
|
122
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
123
|
-
),
|
124
|
-
cast_to=NoneType,
|
125
|
-
)
|
126
|
-
|
127
|
-
def verify_backup_code(
|
128
|
-
self,
|
129
|
-
*,
|
130
|
-
backup_code: str,
|
131
|
-
email: str,
|
132
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
133
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
134
|
-
extra_headers: Headers | None = None,
|
135
|
-
extra_query: Query | None = None,
|
136
|
-
extra_body: Body | None = None,
|
137
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
138
|
-
) -> None:
|
139
|
-
"""
|
140
|
-
Args:
|
141
|
-
backup_code: Backup code
|
142
|
-
|
143
|
-
email: User email address
|
144
|
-
|
145
|
-
extra_headers: Send extra headers
|
146
|
-
|
147
|
-
extra_query: Add additional query parameters to the request
|
148
|
-
|
149
|
-
extra_body: Add additional JSON properties to the request
|
150
|
-
|
151
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
152
|
-
"""
|
153
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
154
|
-
return self._post(
|
155
|
-
"/api/v1/auth/login/verify-backup-code",
|
156
|
-
body=maybe_transform(
|
157
|
-
{
|
158
|
-
"backup_code": backup_code,
|
159
|
-
"email": email,
|
160
|
-
},
|
161
|
-
login_verify_backup_code_params.LoginVerifyBackupCodeParams,
|
162
|
-
),
|
163
|
-
options=make_request_options(
|
164
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
165
|
-
),
|
166
|
-
cast_to=NoneType,
|
167
|
-
)
|
168
|
-
|
169
|
-
|
170
|
-
class AsyncLoginResource(AsyncAPIResource):
|
171
|
-
@cached_property
|
172
|
-
def with_raw_response(self) -> AsyncLoginResourceWithRawResponse:
|
173
|
-
"""
|
174
|
-
This property can be used as a prefix for any HTTP method call to return
|
175
|
-
the raw response object instead of the parsed content.
|
176
|
-
|
177
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
178
|
-
"""
|
179
|
-
return AsyncLoginResourceWithRawResponse(self)
|
180
|
-
|
181
|
-
@cached_property
|
182
|
-
def with_streaming_response(self) -> AsyncLoginResourceWithStreamingResponse:
|
183
|
-
"""
|
184
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
185
|
-
|
186
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
187
|
-
"""
|
188
|
-
return AsyncLoginResourceWithStreamingResponse(self)
|
189
|
-
|
190
|
-
async def authenticate(
|
191
|
-
self,
|
192
|
-
*,
|
193
|
-
email: str,
|
194
|
-
password: str,
|
195
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
196
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
197
|
-
extra_headers: Headers | None = None,
|
198
|
-
extra_query: Query | None = None,
|
199
|
-
extra_body: Body | None = None,
|
200
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
201
|
-
) -> None:
|
202
|
-
"""
|
203
|
-
Args:
|
204
|
-
email: User email address
|
205
|
-
|
206
|
-
password: User password
|
207
|
-
|
208
|
-
extra_headers: Send extra headers
|
209
|
-
|
210
|
-
extra_query: Add additional query parameters to the request
|
211
|
-
|
212
|
-
extra_body: Add additional JSON properties to the request
|
213
|
-
|
214
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
215
|
-
"""
|
216
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
217
|
-
return await self._post(
|
218
|
-
"/api/v1/auth/login",
|
219
|
-
body=await async_maybe_transform(
|
220
|
-
{
|
221
|
-
"email": email,
|
222
|
-
"password": password,
|
223
|
-
},
|
224
|
-
login_authenticate_params.LoginAuthenticateParams,
|
225
|
-
),
|
226
|
-
options=make_request_options(
|
227
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
228
|
-
),
|
229
|
-
cast_to=NoneType,
|
230
|
-
)
|
231
|
-
|
232
|
-
async def verify_2fa(
|
233
|
-
self,
|
234
|
-
*,
|
235
|
-
code: str,
|
236
|
-
email: str,
|
237
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
238
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
239
|
-
extra_headers: Headers | None = None,
|
240
|
-
extra_query: Query | None = None,
|
241
|
-
extra_body: Body | None = None,
|
242
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
243
|
-
) -> None:
|
244
|
-
"""
|
245
|
-
Args:
|
246
|
-
code: 6-digit verification code
|
247
|
-
|
248
|
-
email: User email address
|
249
|
-
|
250
|
-
extra_headers: Send extra headers
|
251
|
-
|
252
|
-
extra_query: Add additional query parameters to the request
|
253
|
-
|
254
|
-
extra_body: Add additional JSON properties to the request
|
255
|
-
|
256
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
257
|
-
"""
|
258
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
259
|
-
return await self._post(
|
260
|
-
"/api/v1/auth/login/verify-2fa",
|
261
|
-
body=await async_maybe_transform(
|
262
|
-
{
|
263
|
-
"code": code,
|
264
|
-
"email": email,
|
265
|
-
},
|
266
|
-
login_verify_2fa_params.LoginVerify2faParams,
|
267
|
-
),
|
268
|
-
options=make_request_options(
|
269
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
270
|
-
),
|
271
|
-
cast_to=NoneType,
|
272
|
-
)
|
273
|
-
|
274
|
-
async def verify_backup_code(
|
275
|
-
self,
|
276
|
-
*,
|
277
|
-
backup_code: str,
|
278
|
-
email: str,
|
279
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
280
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
281
|
-
extra_headers: Headers | None = None,
|
282
|
-
extra_query: Query | None = None,
|
283
|
-
extra_body: Body | None = None,
|
284
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
285
|
-
) -> None:
|
286
|
-
"""
|
287
|
-
Args:
|
288
|
-
backup_code: Backup code
|
289
|
-
|
290
|
-
email: User email address
|
291
|
-
|
292
|
-
extra_headers: Send extra headers
|
293
|
-
|
294
|
-
extra_query: Add additional query parameters to the request
|
295
|
-
|
296
|
-
extra_body: Add additional JSON properties to the request
|
297
|
-
|
298
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
299
|
-
"""
|
300
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
301
|
-
return await self._post(
|
302
|
-
"/api/v1/auth/login/verify-backup-code",
|
303
|
-
body=await async_maybe_transform(
|
304
|
-
{
|
305
|
-
"backup_code": backup_code,
|
306
|
-
"email": email,
|
307
|
-
},
|
308
|
-
login_verify_backup_code_params.LoginVerifyBackupCodeParams,
|
309
|
-
),
|
310
|
-
options=make_request_options(
|
311
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
312
|
-
),
|
313
|
-
cast_to=NoneType,
|
314
|
-
)
|
315
|
-
|
316
|
-
|
317
|
-
class LoginResourceWithRawResponse:
|
318
|
-
def __init__(self, login: LoginResource) -> None:
|
319
|
-
self._login = login
|
320
|
-
|
321
|
-
self.authenticate = to_raw_response_wrapper(
|
322
|
-
login.authenticate,
|
323
|
-
)
|
324
|
-
self.verify_2fa = to_raw_response_wrapper(
|
325
|
-
login.verify_2fa,
|
326
|
-
)
|
327
|
-
self.verify_backup_code = to_raw_response_wrapper(
|
328
|
-
login.verify_backup_code,
|
329
|
-
)
|
330
|
-
|
331
|
-
|
332
|
-
class AsyncLoginResourceWithRawResponse:
|
333
|
-
def __init__(self, login: AsyncLoginResource) -> None:
|
334
|
-
self._login = login
|
335
|
-
|
336
|
-
self.authenticate = async_to_raw_response_wrapper(
|
337
|
-
login.authenticate,
|
338
|
-
)
|
339
|
-
self.verify_2fa = async_to_raw_response_wrapper(
|
340
|
-
login.verify_2fa,
|
341
|
-
)
|
342
|
-
self.verify_backup_code = async_to_raw_response_wrapper(
|
343
|
-
login.verify_backup_code,
|
344
|
-
)
|
345
|
-
|
346
|
-
|
347
|
-
class LoginResourceWithStreamingResponse:
|
348
|
-
def __init__(self, login: LoginResource) -> None:
|
349
|
-
self._login = login
|
350
|
-
|
351
|
-
self.authenticate = to_streamed_response_wrapper(
|
352
|
-
login.authenticate,
|
353
|
-
)
|
354
|
-
self.verify_2fa = to_streamed_response_wrapper(
|
355
|
-
login.verify_2fa,
|
356
|
-
)
|
357
|
-
self.verify_backup_code = to_streamed_response_wrapper(
|
358
|
-
login.verify_backup_code,
|
359
|
-
)
|
360
|
-
|
361
|
-
|
362
|
-
class AsyncLoginResourceWithStreamingResponse:
|
363
|
-
def __init__(self, login: AsyncLoginResource) -> None:
|
364
|
-
self._login = login
|
365
|
-
|
366
|
-
self.authenticate = async_to_streamed_response_wrapper(
|
367
|
-
login.authenticate,
|
368
|
-
)
|
369
|
-
self.verify_2fa = async_to_streamed_response_wrapper(
|
370
|
-
login.verify_2fa,
|
371
|
-
)
|
372
|
-
self.verify_backup_code = async_to_streamed_response_wrapper(
|
373
|
-
login.verify_backup_code,
|
374
|
-
)
|