usecortex-ai 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. usecortex_ai/__init__.py +8 -4
  2. usecortex_ai/client.py +0 -4
  3. usecortex_ai/dashboard/client.py +2 -30
  4. usecortex_ai/dashboard/raw_client.py +0 -28
  5. usecortex_ai/embeddings/client.py +8 -58
  6. usecortex_ai/embeddings/raw_client.py +8 -58
  7. usecortex_ai/fetch/__init__.py +3 -0
  8. usecortex_ai/fetch/client.py +42 -165
  9. usecortex_ai/fetch/raw_client.py +38 -341
  10. usecortex_ai/fetch/types/__init__.py +7 -0
  11. usecortex_ai/fetch/types/fetch_list_knowledge_response.py +8 -0
  12. usecortex_ai/raw_client.py +0 -4
  13. usecortex_ai/search/client.py +36 -124
  14. usecortex_ai/search/raw_client.py +36 -124
  15. usecortex_ai/sources/client.py +2 -16
  16. usecortex_ai/sources/raw_client.py +2 -16
  17. usecortex_ai/tenant/client.py +4 -108
  18. usecortex_ai/tenant/raw_client.py +2 -106
  19. usecortex_ai/types/__init__.py +6 -2
  20. usecortex_ai/types/list_content_kind.py +5 -0
  21. usecortex_ai/types/list_user_memories_response.py +32 -0
  22. usecortex_ai/types/retrieval_result.py +1 -1
  23. usecortex_ai/types/retrieve_mode.py +1 -1
  24. usecortex_ai/types/user_memory.py +31 -0
  25. usecortex_ai/upload/__init__.py +0 -3
  26. usecortex_ai/upload/client.py +34 -204
  27. usecortex_ai/upload/raw_client.py +30 -382
  28. {usecortex_ai-0.5.0.dist-info → usecortex_ai-0.5.1.dist-info}/METADATA +1 -1
  29. {usecortex_ai-0.5.0.dist-info → usecortex_ai-0.5.1.dist-info}/RECORD +32 -30
  30. {usecortex_ai-0.5.0.dist-info → usecortex_ai-0.5.1.dist-info}/licenses/LICENSE +21 -21
  31. {usecortex_ai-0.5.0.dist-info → usecortex_ai-0.5.1.dist-info}/top_level.txt +0 -0
  32. usecortex_ai/types/app_sources_upload_data.py +0 -39
  33. usecortex_ai/upload/types/__init__.py +0 -7
  34. usecortex_ai/upload/types/body_upload_app_ingestion_upload_app_post_app_sources.py +0 -7
  35. {usecortex_ai-0.5.0.dist-info → usecortex_ai-0.5.1.dist-info}/WHEEL +0 -0
@@ -1,7 +1,7 @@
1
- usecortex_ai/__init__.py,sha256=rD8U2JdJeww4oRS58yQT7E4ELKnphMrH-CmRKT1MjRU,3735
2
- usecortex_ai/client.py,sha256=Q5pukJ7vnwW9DlVptgmBe9PRh-PHL_y0OP8ikvo7MGI,9633
1
+ usecortex_ai/__init__.py,sha256=NFjLXK6B1aizVAKLvY4GAk5hovS2IyXXf6RVI2ewk5I,3782
2
+ usecortex_ai/client.py,sha256=delwiMwhASsz1oMn4nt-3TsZfaJ7deT_EOBMTQXFEQc,9533
3
3
  usecortex_ai/environment.py,sha256=IZ0X7CTz4V0TzNaMrw6E5GJklcTLxGJmrWEyH-LtYsc,162
4
- usecortex_ai/raw_client.py,sha256=XHaTjauK7dktQzjz0zapU6EM32vCi4h3g1bb6oVLwZE,3700
4
+ usecortex_ai/raw_client.py,sha256=0R7ReoSJUoiV5AajUe0rUkgcJa-QRdyYIoTPty_Qh9E,3600
5
5
  usecortex_ai/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
6
6
  usecortex_ai/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
7
7
  usecortex_ai/core/client_wrapper.py,sha256=50sko9nNjHmtUmiWiGjJZ3cT9RITCKzfOgvJ55QlwQQ,2681
@@ -17,11 +17,11 @@ usecortex_ai/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3V
17
17
  usecortex_ai/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
18
18
  usecortex_ai/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
19
19
  usecortex_ai/dashboard/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
20
- usecortex_ai/dashboard/client.py,sha256=0VaVuVlWJ0zqY0VcPIcXuFI3SIo1oQidhAMPmT4DKoY,13319
21
- usecortex_ai/dashboard/raw_client.py,sha256=8hbt5ZfSN0DnDMFl5-s1WbrSK8jtPb4-jlxiXTgTQCE,43641
20
+ usecortex_ai/dashboard/client.py,sha256=sACXWkqvV4s_mVmS8OJkTWI7iCnBZUoIyUpBSiPkv-c,12377
21
+ usecortex_ai/dashboard/raw_client.py,sha256=muwlJg6XACbRTm5B3RdK-_tA7yeZ6WTCxW6_TEHXYZI,42691
22
22
  usecortex_ai/embeddings/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
23
- usecortex_ai/embeddings/client.py,sha256=0QDo8jYbMWYQstI8RmzkiL7gXbb_XaaedbqrnG9Rjl0,18999
24
- usecortex_ai/embeddings/raw_client.py,sha256=apZktTJoUNbs-I65Mc_kIQPYMR8GIt7vE7NC5ZmLero,50951
23
+ usecortex_ai/embeddings/client.py,sha256=DwWIaErB5uIQEbyxE4Vskau85xHps2dcaFO61FKJGrk,17075
24
+ usecortex_ai/embeddings/raw_client.py,sha256=1qQGJB0ic5nYNO_cNIAyzkA-bfFUMIamQQFwFlPkXws,48499
25
25
  usecortex_ai/errors/__init__.py,sha256=UCxF9Stci6y9oYV8HsEf_gF37PBNXbhEyP5BejOcqTs,734
26
26
  usecortex_ai/errors/bad_request_error.py,sha256=PnE3v3kETCXm9E3LiNcHLNtjPEUvpe98-r59q-kQb78,338
27
27
  usecortex_ai/errors/forbidden_error.py,sha256=JhKThpM90vF0BEmaBn-8P_0NVYmgJ2BE9kvWmLxU_nA,337
@@ -31,25 +31,26 @@ usecortex_ai/errors/service_unavailable_error.py,sha256=MIoOqruDBRDJtJJFK45O4_Xw
31
31
  usecortex_ai/errors/too_many_requests_error.py,sha256=U9YgxaSDjP2m7X0blwAbQaH6yEpfRAsQGjvoEcMIY_8,397
32
32
  usecortex_ai/errors/unauthorized_error.py,sha256=mryinHCAaknn5St2VF17R9XybZUcWRRYWEjxg63dQSA,340
33
33
  usecortex_ai/errors/unprocessable_entity_error.py,sha256=JqxtzIhvjkpQDqbT9Q-go1n-gyv9PsYqq0ng_ZYyBMo,347
34
- usecortex_ai/fetch/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
35
- usecortex_ai/fetch/client.py,sha256=tbiCVuM_wjL67jkHIWar7H_SaHns3vVLtGWp4kHrSho,15476
36
- usecortex_ai/fetch/raw_client.py,sha256=9A2hndWmMkBjdUae-LuktiH-gavGUaJ_GaW28WLJlLc,47167
34
+ usecortex_ai/fetch/__init__.py,sha256=WxbcpFAaaSE1G_ogqG0aXYStkRcF6WgSMlOc8pW7BiQ,173
35
+ usecortex_ai/fetch/client.py,sha256=AFm5lHZBwTTK75QHjt1M7EverbCBQZOtSYdohVBwEG4,11020
36
+ usecortex_ai/fetch/raw_client.py,sha256=SNnvixFrUxWDML0z1JkphKkPYedZrRx7GTYAM2zPYRA,34788
37
+ usecortex_ai/fetch/types/__init__.py,sha256=syTGN5HQn-8Bsh3gPgW33m60E7tDri2mEdOnnoMVrw0,197
38
+ usecortex_ai/fetch/types/fetch_list_knowledge_response.py,sha256=Lceb9CZrd4EvDFp8btIba2__63ewTHnB0ud0Rlnh6MU,304
37
39
  usecortex_ai/search/__init__.py,sha256=iA8ksy3OzGPGNq_g8cVXsEiZuWyAEAnKI6fHUFWEE-A,131
38
- usecortex_ai/search/client.py,sha256=PAvX90mAUaR4M74Cj3gHBcZ8z3hOXbmyqIkcdm9ez4I,23580
39
- usecortex_ai/search/raw_client.py,sha256=bXWnUllxhzjmV3wT7P1nYSBqz0qnuGp3i3M-80nVUsk,50891
40
+ usecortex_ai/search/client.py,sha256=6tSihpB6bsRWx37mZMPRxvF_JnFJacwnTS5C6BJvjrw,19432
41
+ usecortex_ai/search/raw_client.py,sha256=dXHAr5LZGfs4JSfa642XNVW8R0_YLREXx4ISBQu4H44,46627
40
42
  usecortex_ai/search/types/__init__.py,sha256=T0zQrrDzfvgmw2Deo_iYanUoxcVhZ9jDO_fS3CpSU9M,131
41
43
  usecortex_ai/search/types/alpha.py,sha256=ajQv7MA-jeqjZNfX7p4zx8VcPSBu8vHj-btZ_NIK2a4,113
42
44
  usecortex_ai/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
43
- usecortex_ai/sources/client.py,sha256=A5MX_ZOQc_ZAzEZ53PlT20jghwDPuIth_edQwYJ63S8,4310
44
- usecortex_ai/sources/raw_client.py,sha256=Pz8q9bSzMmUSPHofHA5FyS8xisaDdkEK_CANl-pvOZI,12266
45
+ usecortex_ai/sources/client.py,sha256=LSKeb8u2_To-kfSE_C9lWxdYtKmu_HbRDB3nyCIcpqg,3562
46
+ usecortex_ai/sources/raw_client.py,sha256=0NCbmmxalqIN_YF5l6k0-sD1ZOQKjSHdOxDEnY2dk0M,11520
45
47
  usecortex_ai/tenant/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
46
- usecortex_ai/tenant/client.py,sha256=ZtNt7-ODnzc2wALqXvfF9uYmetucg96MrWdIpKOh_G4,10992
47
- usecortex_ai/tenant/raw_client.py,sha256=wQtQ4iDcUrXM1BGL88cyRF_xxrk93RIQqNGCmP8aVJg,27306
48
- usecortex_ai/types/__init__.py,sha256=VemryNPm7-iFi7IGSyOGUQswcMtsYM8ER8JtncJFVfg,4353
48
+ usecortex_ai/tenant/client.py,sha256=aU3rU12VrBLYclqT6NjOEUAOPDQQDz58YqaKU7ch1fc,6942
49
+ usecortex_ai/tenant/raw_client.py,sha256=e1rpLi2giz4TTgOD1gS8Uld0aZj63ojUi53ZqCxLCTI,23252
50
+ usecortex_ai/types/__init__.py,sha256=ddbiBGcJvfVIZ1csCP84CW8vmY1lD6GR2-1_pjI8ie4,4489
49
51
  usecortex_ai/types/actual_error_response.py,sha256=EBit_JO3u0FQrVAXDg0UXQktlULLPLtX8FF8J9mZSvY,580
50
52
  usecortex_ai/types/add_memory_response.py,sha256=OdU5jKhjzznhUCkNTTyr_f0HlDAv-QixHP1ArDK9dqI,1133
51
53
  usecortex_ai/types/api_key_info.py,sha256=spbHgc87xD5S2SChMa4Is7z1ZIdTP8aDA3YeQXENhyA,998
52
- usecortex_ai/types/app_sources_upload_data.py,sha256=mn4yguv8lip1Emeh6yHuwjObgShImnPOsuzb_-FbO18,1152
53
54
  usecortex_ai/types/attachment_model.py,sha256=gyIlSbj2fz8VJ6fo03-2FntXd0zZ5w53Ij-LN3PhjYg,1600
54
55
  usecortex_ai/types/bm_25_operator_type.py,sha256=wiromvB4YjgxKQcS1-1BNBZ7MqKP1JzBEbY1R8K-wq4,153
55
56
  usecortex_ai/types/collection_stats.py,sha256=rY87NzGGIIYxLpsHTivB68N5X2TSSVz2mUF8FsZMmEo,698
@@ -68,6 +69,8 @@ usecortex_ai/types/graph_context.py,sha256=3EnA98Aj7s583d43Nu7t9XvB7G-HOZiK0gmMs
68
69
  usecortex_ai/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
69
70
  usecortex_ai/types/infra.py,sha256=Fa-Dck9ndGmiqztyYszIon5nGeZ806sF223zoR13Mps,613
70
71
  usecortex_ai/types/insert_result.py,sha256=0znvjKKAZlyzdaKB4xF0cuwghO3Z1wX7TdHUEOGsiwc,981
72
+ usecortex_ai/types/list_content_kind.py,sha256=rm_BrmjxJ8GshSKZRdG7rn2Vk-HbwJFQReM4NFlIjFU,164
73
+ usecortex_ai/types/list_user_memories_response.py,sha256=MZQfOQ7wU11UGgENWyPNlQIEnr_ZcGYQL0g1bWAtj4Y,935
71
74
  usecortex_ai/types/memory_item.py,sha256=SYyrb1oo38EJe3QJRL5Vd5D6Gu3T38nGPymjhp2Td2A,2926
72
75
  usecortex_ai/types/memory_result_item.py,sha256=FVsWLemKSQUPiFFmUQ06KXWrYzTeDWNVy75Z1MJNMd4,1204
73
76
  usecortex_ai/types/milvus_data_type.py,sha256=1PwgQNQGx2Ti1KgFSfpIbx5P9tprTk3hMncGbA-28Sk,381
@@ -79,8 +82,8 @@ usecortex_ai/types/raw_embedding_document.py,sha256=HorAQZpXX3sHegfscd_IHHvhUswQ
79
82
  usecortex_ai/types/raw_embedding_search_result.py,sha256=nrvvBkNF9zN13dKjhxqfAJJHT4sxEavtQ02hd-1QFjM,1243
80
83
  usecortex_ai/types/raw_embedding_vector.py,sha256=iujHus3NeEKS3oFd7h02M7cJKJQeWBiiB6kajSHC7no,773
81
84
  usecortex_ai/types/relation_evidence.py,sha256=MahpZicfR31USMG-PI3eXSWFCgOOKcR73d0sVt3rfCw,2052
82
- usecortex_ai/types/retrieval_result.py,sha256=lOxMSuunI5Cx5_iv-kBvNaclX11eopowDgGuOJnemSA,1098
83
- usecortex_ai/types/retrieve_mode.py,sha256=s2nGRBzRRCu5OPIdXi5hhPZ18qBTVz6_T4qU8PoGJr4,156
85
+ usecortex_ai/types/retrieval_result.py,sha256=Aale55yWimangF30kWji_eFrPhEuJmZshv08j1DAng0,1103
86
+ usecortex_ai/types/retrieve_mode.py,sha256=R2dC5LIslKGF1fEwNgVuo0yYnbPUBT6f8mAsbd5XkLc,156
84
87
  usecortex_ai/types/scored_path_response.py,sha256=VXAzT5KKWGQr5qjArxu85tZxZrvvQV0fGsery-Lf_E4,805
85
88
  usecortex_ai/types/search_mode.py,sha256=utxMfGgisoxvHQwIo0y3hf0W0jFlQVnGCUuVpBEEd4k,157
86
89
  usecortex_ai/types/source_delete_response.py,sha256=t8vd8PUPZUqtKyTAdSwYbCOXzS9bWVMtI9NorHpZop8,899
@@ -99,16 +102,15 @@ usecortex_ai/types/tenant_metadata_schema_info.py,sha256=q4N_rGnguDK-CX-EiYP8bHv
99
102
  usecortex_ai/types/tenant_stats_response.py,sha256=3i2ObXxLwvBuDxfIgm4kXwwmBHgoIgPBbmUFHmYAqfo,978
100
103
  usecortex_ai/types/triplet_with_evidence.py,sha256=Jqgbxo60zi14CdfgecdkKnkXG2Yi-AFXfcrDuZAqd_M,923
101
104
  usecortex_ai/types/user_assistant_pair.py,sha256=l0xGFuHHfo9rbD_2jcL_oCL8kq5CFm819AowYRkhUoY,766
105
+ usecortex_ai/types/user_memory.py,sha256=_lAM0qXL5cAwfLeeWs4_m8VZ2BtkFrGBYk5dip7k7KI,778
102
106
  usecortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
103
107
  usecortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
104
108
  usecortex_ai/types/vector_store_chunk.py,sha256=fXtMBi8uc2WpBGrU6DTvpt64uY9yiCVXlDCpPywOzeY,2516
105
- usecortex_ai/upload/__init__.py,sha256=F13WAucSniaKhJJNLe2PAYEbITadfFEaYTIMv-T0ktg,211
106
- usecortex_ai/upload/client.py,sha256=EAoarsMfEl3YameTFIR2twLCcnuL4qL_n49rukk0O0E,21111
107
- usecortex_ai/upload/raw_client.py,sha256=f4wdJdckERw6GijhDWRogwTh-oMiJcpVrmTuud3qXyY,61218
108
- usecortex_ai/upload/types/__init__.py,sha256=hKOtGnwwQrjeCTlNrDhclmhSH1jLNLLmPl-Sb4YC2MU,259
109
- usecortex_ai/upload/types/body_upload_app_ingestion_upload_app_post_app_sources.py,sha256=MonlCkXtrGYunPHLMnsjlmO_w61qCM08T03WxLIKPvQ,227
110
- usecortex_ai-0.5.0.dist-info/licenses/LICENSE,sha256=6LmuyFokcoKlKFcADtfwpylDp6lGgp14s0WoS-mMI8k,1266
111
- usecortex_ai-0.5.0.dist-info/METADATA,sha256=shPLAQTcCDdK-g5QRPUUMhvEriXrqRO6R0YN82xSaBQ,7942
112
- usecortex_ai-0.5.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
113
- usecortex_ai-0.5.0.dist-info/top_level.txt,sha256=TQ77el6hL0CvN7BTXJVFTqZ5ot1_kHKo2ZnEcOvZsjo,13
114
- usecortex_ai-0.5.0.dist-info/RECORD,,
109
+ usecortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
110
+ usecortex_ai/upload/client.py,sha256=7J8Ji1fhV0Svtgf8y88undObkTkTxeUzCpF0yxtpOXs,14025
111
+ usecortex_ai/upload/raw_client.py,sha256=e8vdJMJztW6-rTpk-Xk217M2Xt97zSPXKY5QpXs6mmM,46029
112
+ usecortex_ai-0.5.1.dist-info/licenses/LICENSE,sha256=Y4M0dr3NLw8mFQQ2MBdnC0YsrmcJ93WZ7-DgCliupK8,1245
113
+ usecortex_ai-0.5.1.dist-info/METADATA,sha256=paj8g7CWDH_rjBypu2qGUfgKJW2yYjtsQ9WixD01p9Q,7942
114
+ usecortex_ai-0.5.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
115
+ usecortex_ai-0.5.1.dist-info/top_level.txt,sha256=TQ77el6hL0CvN7BTXJVFTqZ5ot1_kHKo2ZnEcOvZsjo,13
116
+ usecortex_ai-0.5.1.dist-info/RECORD,,
@@ -1,22 +1,22 @@
1
- Copyright (c) 2024 Cortex AI
2
-
3
- All Rights Reserved.
4
-
5
- PROPRIETARY AND CONFIDENTIAL
6
-
7
- This software is the proprietary and confidential property of Cortex AI ("the Company").
8
- Permission is hereby granted to users to install and use this software as part of the Cortex AI service, subject to the terms and conditions of the service agreement entered into with the Company.
9
-
10
- You may not, without the express written permission of the Company:
11
-
12
- 1. Copy, modify, or create derivative works of the software.
13
- 2. Distribute, sell, rent, lease, sublicense, or otherwise transfer the software to any third party.
14
- 3. Reverse engineer, decompile, or disassemble the software, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ Copyright (c) 2024 Cortex AI
2
+
3
+ All Rights Reserved.
4
+
5
+ PROPRIETARY AND CONFIDENTIAL
6
+
7
+ This software is the proprietary and confidential property of Cortex AI ("the Company").
8
+ Permission is hereby granted to users to install and use this software as part of the Cortex AI service, subject to the terms and conditions of the service agreement entered into with the Company.
9
+
10
+ You may not, without the express written permission of the Company:
11
+
12
+ 1. Copy, modify, or create derivative works of the software.
13
+ 2. Distribute, sell, rent, lease, sublicense, or otherwise transfer the software to any third party.
14
+ 3. Reverse engineer, decompile, or disassemble the software, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
@@ -1,39 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .source_upload_result_item import SourceUploadResultItem
8
-
9
-
10
- class AppSourcesUploadData(UniversalBaseModel):
11
- """
12
- Response model for uploads of app-generated sources.
13
- """
14
-
15
- success: typing.Optional[bool] = None
16
- message: typing.Optional[str] = None
17
- results: typing.Optional[typing.List[SourceUploadResultItem]] = pydantic.Field(default=None)
18
- """
19
- List of upload results for each source.
20
- """
21
-
22
- success_count: typing.Optional[int] = pydantic.Field(default=None)
23
- """
24
- Number of sources successfully queued.
25
- """
26
-
27
- failed_count: typing.Optional[int] = pydantic.Field(default=None)
28
- """
29
- Number of sources that failed to upload.
30
- """
31
-
32
- if IS_PYDANTIC_V2:
33
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
34
- else:
35
-
36
- class Config:
37
- frozen = True
38
- smart_union = True
39
- extra = pydantic.Extra.allow
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-
5
- from .body_upload_app_ingestion_upload_app_post_app_sources import BodyUploadAppIngestionUploadAppPostAppSources
6
-
7
- __all__ = ["BodyUploadAppIngestionUploadAppPostAppSources"]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from ...types.source_model import SourceModel
6
-
7
- BodyUploadAppIngestionUploadAppPostAppSources = typing.Union[SourceModel, typing.List[SourceModel]]