airweave-sdk 0.8.50__py3-none-any.whl → 0.8.53__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 (46) hide show
  1. airweave/__init__.py +0 -117
  2. airweave/core/client_wrapper.py +2 -2
  3. airweave/types/__init__.py +0 -117
  4. airweave/types/legacy_search_request.py +3 -13
  5. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/METADATA +1 -1
  6. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/RECORD +7 -46
  7. airweave/types/any.py +0 -5
  8. airweave/types/datetime_range.py +0 -45
  9. airweave/types/except_.py +0 -5
  10. airweave/types/field_condition.py +0 -72
  11. airweave/types/filter.py +0 -53
  12. airweave/types/filter_must_item.py +0 -18
  13. airweave/types/filter_must_not.py +0 -26
  14. airweave/types/filter_must_not_item.py +0 -18
  15. airweave/types/filter_should_item.py +0 -18
  16. airweave/types/geo_bounding_box.py +0 -32
  17. airweave/types/geo_line_string.py +0 -27
  18. airweave/types/geo_point.py +0 -31
  19. airweave/types/geo_polygon.py +0 -32
  20. airweave/types/geo_radius.py +0 -32
  21. airweave/types/gt.py +0 -6
  22. airweave/types/gte.py +0 -6
  23. airweave/types/has_id_condition.py +0 -27
  24. airweave/types/has_id_condition_has_id_item.py +0 -5
  25. airweave/types/has_vector_condition.py +0 -26
  26. airweave/types/is_empty_condition.py +0 -27
  27. airweave/types/is_null_condition.py +0 -27
  28. airweave/types/lt.py +0 -6
  29. airweave/types/lte.py +0 -6
  30. airweave/types/match.py +0 -11
  31. airweave/types/match_any.py +0 -27
  32. airweave/types/match_except.py +0 -29
  33. airweave/types/match_phrase.py +0 -26
  34. airweave/types/match_text.py +0 -26
  35. airweave/types/match_value.py +0 -27
  36. airweave/types/min_should.py +0 -37
  37. airweave/types/min_should_conditions_item.py +0 -18
  38. airweave/types/must.py +0 -26
  39. airweave/types/nested.py +0 -40
  40. airweave/types/nested_condition.py +0 -31
  41. airweave/types/payload_field.py +0 -26
  42. airweave/types/range.py +0 -41
  43. airweave/types/should.py +0 -26
  44. airweave/types/value.py +0 -5
  45. airweave/types/values_count.py +0 -41
  46. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/WHEEL +0 -0
@@ -1,4 +1,4 @@
1
- airweave/__init__.py,sha256=7xHeTKIDZrOvwKbbsZCYPtbwkO9bc1q1qMiAl-1nIj0,16042
1
+ airweave/__init__.py,sha256=-lAc3om40CC568TQZqAZ3XUZO3evsHP-ztp5Wt8scFk,13432
2
2
  airweave/client.py,sha256=xpFMf0lSCnp06Wd1DmM9r4yw-jFJub7WydHhUhB8MVY,8848
3
3
  airweave/collections/__init__.py,sha256=nWWI5Y-IP1ZInn_QUQWh6HLqKhnunP4iFPsvzEb3CQY,1318
4
4
  airweave/collections/client.py,sha256=JPjt1jLWKDxIu4cU1Q5xoH3JAlyf6QR4ohJV4TrPBLw,24396
@@ -8,7 +8,7 @@ airweave/collections/types/search_collections_readable_id_search_post_request.py
8
8
  airweave/collections/types/search_collections_readable_id_search_post_response.py,sha256=wJD5mKSwLRyjI2xEXr-5ikHVljSMiXAWzt12JK9wsks,297
9
9
  airweave/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
10
10
  airweave/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
11
- airweave/core/client_wrapper.py,sha256=C3DiMcGR7LdPCCFuRy324c7wRR-Pq3IVYYySxjr-apo,3330
11
+ airweave/core/client_wrapper.py,sha256=-MSrAY0AB1Ub-m2FpKnxvdlBFw3ZlhE1AAn3qzyvmUA,3330
12
12
  airweave/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
13
13
  airweave/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
14
14
  airweave/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
@@ -32,12 +32,11 @@ airweave/source_connections/types/authentication.py,sha256=c70Mz6X3_NQJFGPaRiw5T
32
32
  airweave/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
33
33
  airweave/sources/client.py,sha256=V3FmaNPxTCvKXeKWRZuzXwpTcHkZW9hPrhha8a679ms,5219
34
34
  airweave/sources/raw_client.py,sha256=GbuYIs5WSOJTHZeBURZAoGp4pwbYQ_lDXKNK94x3D94,8549
35
- airweave/types/__init__.py,sha256=S_SYwVJ_y7hC_EjW9bocr5biFJ3LmPvN7TZDPBmAFj0,21263
35
+ airweave/types/__init__.py,sha256=rQddECp9v9VttckzbMgUUJ6MseeX9f4eD_r6czsJgTU,17605
36
36
  airweave/types/action_check_request.py,sha256=PVj-QexQEXQhsI5-JJHSuBWTv1qXbZwcKHD7M0LwPU8,702
37
37
  airweave/types/action_check_response.py,sha256=szjd_tz-7Bxq1-XJ7XKV7LaPcefdGMKt7hwBH78Ue0U,704
38
38
  airweave/types/admin_search_destination.py,sha256=IYkP8QvhuEjeI3FS__0bOQxNLTpDtPBpTgVaIfdNIJs,165
39
39
  airweave/types/admin_sync_info.py,sha256=D2DgxhAnNJi4PUFVdTz9tItsflDT1udMum19Cyj56R4,1985
40
- airweave/types/any.py,sha256=egbvB16M2YqzzRlywJcuy_aY82MsSOcmx_4CaQeH_t4,135
41
40
  airweave/types/api_key.py,sha256=uZeJZ6lt4aMMHYwcYpV4aypg99KvVszLqHvTLM9dIB0,939
42
41
  airweave/types/api_key_create.py,sha256=VDKQSyyhCkGwhnVMhWYsxtp6Gckhgm66IIJ9L4uTRAw,722
43
42
  airweave/types/auth_provider.py,sha256=5jl-Mr8T0jNwblzW_gQ9l-LKSi-s1AuE-FmzHG_JMM4,2261
@@ -69,7 +68,6 @@ airweave/types/create_subscription_request.py,sha256=n4mosL525PL6Z2WNvKS6FctPOLG
69
68
  airweave/types/cursor_config.py,sha256=ryPszOHJ2m286zp3XJsdbrv_OCIAwfN7uxDHQexxjSs,818
70
69
  airweave/types/customer_portal_request.py,sha256=eCuxMduZFTNJvQv7dC2v63L0w7JszZhwFXoTaFhlxe4,675
71
70
  airweave/types/customer_portal_response.py,sha256=R92DoboL3uJWVWakjmRzL3culVqPzOfv1o2S7LjerXY,657
72
- airweave/types/datetime_range.py,sha256=ukrJjxDHWL_Fsf2mxUr0kkLPGhGOTyZLnkwR8KBXKAM,1051
73
71
  airweave/types/destination.py,sha256=7NgpzkhorSdLwWh_2J3HSRoLEsCDGGSsSbn3neTsfig,1055
74
72
  airweave/types/destination_config.py,sha256=Zkdo3Ddy8rwqeHGLpY2OwOLY89j_9XROyPP7vflMv6Y,1105
75
73
  airweave/types/destination_with_authentication_fields.py,sha256=ghp4Kw3Hoj5GW_r4nGBSf67FNjv0n4zCJwB_q-NQgEQ,1171
@@ -88,45 +86,18 @@ airweave/types/entity_summary.py,sha256=wCXrgiaHvgmVmpNBPKvNwJjtOjt0_IqZ8SnF47ws
88
86
  airweave/types/entity_type.py,sha256=qQ_xUxfRlenAqMSk2FzW7xy7Auaria2NbI2YS6hsba0,150
89
87
  airweave/types/entity_type_stats.py,sha256=jEtPf3BD5VdQO85SZ89g2bNclECJ4dQcXyvpjI8vlcA,659
90
88
  airweave/types/event_type.py,sha256=e0ZZS0njvscHVeNFRnlEjAVfQGdE9KLVB8DdVrU1TTA,222
91
- airweave/types/except_.py,sha256=Fi6uQ7elnIHIMqK8KUvhBi5_qt0Ma5SL1fonmxuwPaQ,138
92
89
  airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
93
- airweave/types/field_condition.py,sha256=gqTGY0fKkWD9jMr0B64RzQRGuI_tHMk-gZIJqxTqi18,1999
94
90
  airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
95
- airweave/types/filter.py,sha256=BY-6Tly5Tcm4wRfa_4ZRUY8eVCDbtWa-KQ8Y3pTzi2U,1787
96
- airweave/types/filter_must_item.py,sha256=r4vc7x8Bd55uDUXj3tPKQ01-_d9J-6Q1IAlRuzdtuNM,613
97
- airweave/types/filter_must_not.py,sha256=EZkCNFMcAC6RMqf-_cVN9dCG94kzTNEnudFzkLM-LMs,731
98
- airweave/types/filter_must_not_item.py,sha256=OKD-F6go78FVrgDJjVOWx32Z_Md6R70sO90gU_0ifvg,616
99
- airweave/types/filter_should_item.py,sha256=WTq5k2t40JU9tRI6_Lf_IPgOq15bk6JxqkRC71ZwZag,615
100
- airweave/types/geo_bounding_box.py,sha256=kk75mUBFCxSBF5FnqSuPYFngaDXyHf-JYyWfJ-hLZrU,1055
101
- airweave/types/geo_line_string.py,sha256=1s__lGcLmXzPGODbJmiH07pKhkHXJs-coEonZ0gzU0A,736
102
- airweave/types/geo_point.py,sha256=jJ991sG0D4v-Wz-b6gynBrnOUPSZGPUwbAojc-OHKwA,706
103
- airweave/types/geo_polygon.py,sha256=Q1D9b_Vb-S4vMvH8iG3Iers2TfjyklbltJJeMKVbhGE,1106
104
- airweave/types/geo_radius.py,sha256=d82LDfbkuszV5ndNoskpwq9lX82Pr9aYDilbaxFUrz8,916
105
- airweave/types/gt.py,sha256=PVmPRUQU4deaEkyTsZSjwGdc4uHCGLUGlh9IdtsdIo8,138
106
- airweave/types/gte.py,sha256=SYHJA5ZHpFXe4xZ997lAGSguvHdx_undButWeHq4SBk,139
107
91
  airweave/types/handler_config.py,sha256=sIEzPehfYznxobmnFWWGT65ZhY46mzpTDIB9lIPp0g8,955
108
- airweave/types/has_id_condition.py,sha256=Qg-U1DkfO_U1g0IPZWbz9SIXwrroOw3BZgbwIAPN5F4,740
109
- airweave/types/has_id_condition_has_id_item.py,sha256=ztCIx5SnGK9cQJwysZzN6_9Y_Tb7kHMoog1wfzF9lsg,129
110
- airweave/types/has_vector_condition.py,sha256=4nZnZcM-njIL0M1T7xAoFsqEag0ELxUs8Pgewbmh2zw,691
111
92
  airweave/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
112
93
  airweave/types/integration_credential_in_db.py,sha256=60vh6l-fDyqjsOj97_xP_tfbiyZve28owDCaK9X3Jaw,1075
113
94
  airweave/types/integration_credential_raw_create.py,sha256=7JRjxUW5YcQv1WLlSSQSxazxx9YP-cEs8XqFVOtSVf0,1198
114
95
  airweave/types/integration_type.py,sha256=GOEDkmRAhGLeDRsLnmAAaUhw-S0mqf5M1Fr7HOxG6dA,181
115
96
  airweave/types/invitation_create.py,sha256=nDxQCFgk81YDHpePerdgEWk3QzFaB_5l0etgGjXySYk,618
116
97
  airweave/types/invitation_response.py,sha256=xt5hZIwqgO_qkmhJ1JPlOj2_dZ0-wpZ8ZFNpjRwrW4Q,666
117
- airweave/types/is_empty_condition.py,sha256=wWpRhXLXYLqKaT9cop-0yX4pdwJgdTlpLqAgUX7mikc,746
118
- airweave/types/is_null_condition.py,sha256=JJEABjnWsGzqpjXTyrNL_XvZRkuShwphtudLE0Ks3p4,742
119
- airweave/types/legacy_search_request.py,sha256=1P_bH5klzAvdNIIb3tzIFvdGbsBTLS-IU9e0bGPaHwI,2624
98
+ airweave/types/legacy_search_request.py,sha256=qnN8EgPxp7nZXC6zP0XJyZDJeW5gy4P_x6pT20pQEf0,2308
120
99
  airweave/types/legacy_search_request_search_method.py,sha256=mkHFbtmxHTEO12LASFlYlc1PY7C38OUjDY3BWkAvQvY,186
121
100
  airweave/types/legacy_search_response.py,sha256=jD7HXMgYMvr3bFyh1M-nPbRYpwT8-lCL6HUjZSziczs,1221
122
- airweave/types/lt.py,sha256=wT2CAnQi-0W5e6bfaCFx7AlWbEkZKJXiiDLghzSDAOA,138
123
- airweave/types/lte.py,sha256=Ah9ENceDIA7whLsaoYHCCa-zutMFgAD85cIHx0Ig9JA,139
124
- airweave/types/match.py,sha256=7_9sFJ00efclJL5XLPstkUj94BMplLFLOrlzLdSJnV4,339
125
- airweave/types/match_any.py,sha256=MsWpXQ7zi3O5Ha4m53jUq4wM9zjwDJUFi3d-T5J01mc,673
126
- airweave/types/match_except.py,sha256=lZmXp57IVG17ERizR47hhfJkoC1R-4BhulqORPjFy-I,874
127
- airweave/types/match_phrase.py,sha256=KMQshNQ5CzRWbmZxLG2u8EwqpLEe7apDd42rQ6DjC3g,656
128
- airweave/types/match_text.py,sha256=3vndUCjbwCkAxNc9B5PrJv9aENhfq4-zkNRqSAfufxE,640
129
- airweave/types/match_value.py,sha256=i9ewKM6_BNuTooMj8aRL9cUOTSTRe-T9VbvBKbC6FIM,667
130
101
  airweave/types/member_response.py,sha256=izpTTj4_-05ZIGxIls-TMiHRPhqDMGNiOWx534wl8xU,887
131
102
  airweave/types/message_attempt_out.py,sha256=Tgn_C1MdCR9R1je0iK0x_fpRxR9OaDqm_EHCqbzruAE,1513
132
103
  airweave/types/message_attempt_trigger_type.py,sha256=fyXVLGzOhwGIkOpHhF8T9z2A7WyKdrzKMVyAAr-QunA,97
@@ -134,12 +105,7 @@ airweave/types/message_out.py,sha256=2PlRUJRsM-1aGrlLnunxNMNywdz4owgO2OzzpEHfbYM
134
105
  airweave/types/message_response.py,sha256=w4ft_-b6gEiTrt7S5S2f-ZmMFkKnU-olLZ_zykAxl6Y,628
135
106
  airweave/types/message_status.py,sha256=84D1r9Cig5w4zNIQkbG-n4ycj-Qd6jikparOsXh9Tuw,85
136
107
  airweave/types/message_status_text.py,sha256=bJpE1Ekt4jNEF5qiQEGG2OCfaMSNpZCZkfDv6OS-yA0,182
137
- airweave/types/min_should.py,sha256=_ikqVKO3fELTPi0l7EMyKms9y2qL85N7uA38gF7pKIw,1016
138
- airweave/types/min_should_conditions_item.py,sha256=fysuSaBB_8IS7C2q3E_404VpKbKZJzTcippwkT0v7oc,622
139
108
  airweave/types/minute_level_schedule_config.py,sha256=Bth3IbrRp6Vpbs_bjUX6RdZcOkHnB0R6gkVBMiCC_rE,765
140
- airweave/types/must.py,sha256=J8-N-Vl584Zj-lQ7pQ0HWYtOVpA3aO8h0hOPfuhbzsQ,712
141
- airweave/types/nested.py,sha256=vPtXF41F67rDOKBiVkVjz9RqrtAvC9VLgQGC7zXBGqE,1074
142
- airweave/types/nested_condition.py,sha256=EUzza0wn9STbKCg_5PGxEv7r-n4YeNEUqKmUvZYSB3k,832
143
109
  airweave/types/o_auth_browser_authentication.py,sha256=KxK4On1sFKxcBDFRq3IZDoArAH6aughfIb6xcoW4sbE,1384
144
110
  airweave/types/o_auth_token_authentication.py,sha256=vI02Lxnb3i-iBCIl6U8qajjBwbR_bE0f_rhgrP2Yq7M,913
145
111
  airweave/types/o_auth_type.py,sha256=wz1MYrg-SGfc01yPB3PR_y-vAPFfwfD9KtEMdOC-mBY,199
@@ -149,9 +115,7 @@ airweave/types/organization_create.py,sha256=TNcDcO4jG2BfitOfe1F5HompDtENkJZJQQ5
149
115
  airweave/types/organization_metrics.py,sha256=13At_esiZuFGRBXEpQzCiq9UIiXlMFpMZYkb-32FkgU,3133
150
116
  airweave/types/organization_with_role.py,sha256=7fTg1pX9yjdJRLXKAGEPJS4UMYH7ujNYPvjW5V_Vtnw,1457
151
117
  airweave/types/patch_subscription_request.py,sha256=QHU7_ynq3VwTuCDRaBB5V2-fXFL1zqa2zUCyMYr6zK4,734
152
- airweave/types/payload_field.py,sha256=KSkeQgQWiuSlwKcAQH6TcrambFULfWvaV94SlG659ps,611
153
118
  airweave/types/query_expansion_strategy.py,sha256=rjOLMMBNPcTS7TuiWhNkmojscRM4UMSAu8uaiTcvOj0,177
154
- airweave/types/range.py,sha256=kQxnQS_El9g7I9Q3guUaah5-FBkEB5nIcNfFnJ92QF0,973
155
119
  airweave/types/response_type.py,sha256=ltOcRHQpUU_kZnf2Ef7n8F9SY-se7tNMH_1rD1CUD1o,157
156
120
  airweave/types/retrieval_strategy.py,sha256=PNFYREPrEHawtFFdPN-XMYE6LV2YrMRcBuDgAhMbrwk,172
157
121
  airweave/types/s_3_config_request.py,sha256=EiZOSxwWqUiLBgTu0bFDx3-lwyYPSKrWbVC4z2Rdym4,1119
@@ -162,7 +126,6 @@ airweave/types/schedule_response.py,sha256=Xu-oisULnXZh4AHxtzqx4aU13Fi5AsnPtmUAg
162
126
  airweave/types/search_request.py,sha256=vEeNGyfnwcPo-q0hmLb-Su-Lo8kEPbWeln2l-1ljCkA,2134
163
127
  airweave/types/search_response.py,sha256=20jAn-6W8elhzGrZOA004ZbjEhmhfbwBVOP0AMcCAKw,1026
164
128
  airweave/types/search_status.py,sha256=lN617p0-E_fOyCINkfgC4l2YW0qbSLArhaj0Vd4xCWw,184
165
- airweave/types/should.py,sha256=y9Ni8MACJS8MuLYPmxb_1xk7ifkzm0PQZ3QfwISqwgo,720
166
129
  airweave/types/single_action_check_response.py,sha256=rw_eopy9_fNMAE_cPhFbC9UFDbr7HT4hfmWyRz95VcQ,1218
167
130
  airweave/types/single_action_check_response_reason.py,sha256=CLAD_TQpSLmVgqpI3f9l-7CaWwqM7FfjgzEpMPYthKs,199
168
131
  airweave/types/source.py,sha256=UyG-pCd2qA-jeMI2r09PLC4AMryYXHO-ZC0nkmxZv1Y,5473
@@ -196,9 +159,7 @@ airweave/types/user_create.py,sha256=KyiPacIuuVh_SHdfgr_UNLLmfqttppheNd5W35R9XmI
196
159
  airweave/types/user_organization.py,sha256=l49aIb81u810lx3wrsfEwNEYuvvLDJhrbwgJZ5tV-hY,798
197
160
  airweave/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
198
161
  airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
199
- airweave/types/value.py,sha256=S3a570nh8Mw1lWvnsuMb_er16fHbq29xPueGQ9uiXek,117
200
- airweave/types/values_count.py,sha256=49rET8mgdAT7bgzdeDG58OTCkQjBfHD3QROOPq5nunQ,1042
201
162
  airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
202
- airweave_sdk-0.8.50.dist-info/METADATA,sha256=E4TE6pd-VtSpTdnQgyBGJiXYn89-dphswqkdXo2RS5A,5916
203
- airweave_sdk-0.8.50.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
204
- airweave_sdk-0.8.50.dist-info/RECORD,,
163
+ airweave_sdk-0.8.53.dist-info/METADATA,sha256=y5juF-qFZWp8J0ubnG7JMlVc7kgRQ5t_X0ct0qr1XoQ,5916
164
+ airweave_sdk-0.8.53.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
165
+ airweave_sdk-0.8.53.dist-info/RECORD,,
airweave/types/any.py DELETED
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- Any = typing.Union[typing.List[str], typing.List[int]]
@@ -1,45 +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 .gt import Gt
8
- from .gte import Gte
9
- from .lt import Lt
10
- from .lte import Lte
11
-
12
-
13
- class DatetimeRange(UniversalBaseModel):
14
- """
15
- Range filter request
16
- """
17
-
18
- lt: typing.Optional[Lt] = pydantic.Field(default=None)
19
- """
20
- point.key < range.lt
21
- """
22
-
23
- gt: typing.Optional[Gt] = pydantic.Field(default=None)
24
- """
25
- point.key > range.gt
26
- """
27
-
28
- gte: typing.Optional[Gte] = pydantic.Field(default=None)
29
- """
30
- point.key >= range.gte
31
- """
32
-
33
- lte: typing.Optional[Lte] = pydantic.Field(default=None)
34
- """
35
- point.key <= range.lte
36
- """
37
-
38
- if IS_PYDANTIC_V2:
39
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
40
- else:
41
-
42
- class Config:
43
- frozen = True
44
- smart_union = True
45
- extra = pydantic.Extra.allow
airweave/types/except_.py DELETED
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- Except = typing.Union[typing.List[str], typing.List[int]]
@@ -1,72 +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 .geo_bounding_box import GeoBoundingBox
8
- from .geo_polygon import GeoPolygon
9
- from .geo_radius import GeoRadius
10
- from .match import Match
11
- from .range import Range
12
- from .values_count import ValuesCount
13
-
14
-
15
- class FieldCondition(UniversalBaseModel):
16
- """
17
- All possible payload filtering conditions
18
- """
19
-
20
- key: str = pydantic.Field()
21
- """
22
- Payload key
23
- """
24
-
25
- match: typing.Optional[Match] = pydantic.Field(default=None)
26
- """
27
- Check if point has field with a given value
28
- """
29
-
30
- range: typing.Optional[Range] = pydantic.Field(default=None)
31
- """
32
- Check if points value lies in a given range
33
- """
34
-
35
- geo_bounding_box: typing.Optional[GeoBoundingBox] = pydantic.Field(default=None)
36
- """
37
- Check if points geolocation lies in a given area
38
- """
39
-
40
- geo_radius: typing.Optional[GeoRadius] = pydantic.Field(default=None)
41
- """
42
- Check if geo point is within a given radius
43
- """
44
-
45
- geo_polygon: typing.Optional[GeoPolygon] = pydantic.Field(default=None)
46
- """
47
- Check if geo point is within a given polygon
48
- """
49
-
50
- values_count: typing.Optional[ValuesCount] = pydantic.Field(default=None)
51
- """
52
- Check number of values of the field
53
- """
54
-
55
- is_empty: typing.Optional[bool] = pydantic.Field(default=None)
56
- """
57
- Check that the field is empty, alternative syntax for `is_empty: 'field_name'`
58
- """
59
-
60
- is_null: typing.Optional[bool] = pydantic.Field(default=None)
61
- """
62
- Check that the field is null, alternative syntax for `is_null: 'field_name'`
63
- """
64
-
65
- if IS_PYDANTIC_V2:
66
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
67
- else:
68
-
69
- class Config:
70
- frozen = True
71
- smart_union = True
72
- extra = pydantic.Extra.allow
airweave/types/filter.py DELETED
@@ -1,53 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- import pydantic
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs
9
-
10
-
11
- class Filter(UniversalBaseModel):
12
- should: typing.Optional["Should"] = pydantic.Field(default=None)
13
- """
14
- At least one of those conditions should match
15
- """
16
-
17
- min_should: typing.Optional["MinShould"] = pydantic.Field(default=None)
18
- """
19
- At least minimum amount of given conditions should match
20
- """
21
-
22
- must: typing.Optional["Must"] = pydantic.Field(default=None)
23
- """
24
- All conditions must match
25
- """
26
-
27
- must_not: typing.Optional["FilterMustNot"] = pydantic.Field(default=None)
28
- """
29
- All conditions must NOT match
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
40
-
41
-
42
- from .min_should import MinShould # noqa: E402, F401, I001
43
- from .nested import Nested # noqa: E402, F401, I001
44
- from .nested_condition import NestedCondition # noqa: E402, F401, I001
45
- from .filter_must_not import FilterMustNot # noqa: E402, F401, I001
46
- from .must import Must # noqa: E402, F401, I001
47
- from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
48
- from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
49
- from .should import Should # noqa: E402, F401, I001
50
- from .min_should_conditions_item import MinShouldConditionsItem # noqa: E402, F401, I001
51
- from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
52
-
53
- update_forward_refs(Filter)
@@ -1,18 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .nested_condition import NestedCondition
16
- FilterMustItem = typing.Union[
17
- FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, HasVectorCondition, "NestedCondition", "Filter"
18
- ]
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .filter_must_not_item import FilterMustNotItem
16
- from .nested_condition import NestedCondition
17
- FilterMustNot = typing.Union[
18
- typing.List["FilterMustNotItem"],
19
- FieldCondition,
20
- IsEmptyCondition,
21
- IsNullCondition,
22
- HasIdCondition,
23
- HasVectorCondition,
24
- "NestedCondition",
25
- "Filter",
26
- ]
@@ -1,18 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .nested_condition import NestedCondition
16
- FilterMustNotItem = typing.Union[
17
- FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, HasVectorCondition, "NestedCondition", "Filter"
18
- ]
@@ -1,18 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .nested_condition import NestedCondition
16
- FilterShouldItem = typing.Union[
17
- FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, HasVectorCondition, "NestedCondition", "Filter"
18
- ]
@@ -1,32 +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 .geo_point import GeoPoint
8
-
9
-
10
- class GeoBoundingBox(UniversalBaseModel):
11
- """
12
- Geo filter request Matches coordinates inside the rectangle, described by coordinates of lop-left and bottom-right edges
13
- """
14
-
15
- top_left: GeoPoint = pydantic.Field()
16
- """
17
- Geo filter request Matches coordinates inside the rectangle, described by coordinates of lop-left and bottom-right edges
18
- """
19
-
20
- bottom_right: GeoPoint = pydantic.Field()
21
- """
22
- Geo filter request Matches coordinates inside the rectangle, described by coordinates of lop-left and bottom-right edges
23
- """
24
-
25
- if IS_PYDANTIC_V2:
26
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
27
- else:
28
-
29
- class Config:
30
- frozen = True
31
- smart_union = True
32
- extra = pydantic.Extra.allow
@@ -1,27 +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 .geo_point import GeoPoint
8
-
9
-
10
- class GeoLineString(UniversalBaseModel):
11
- """
12
- Ordered sequence of GeoPoints representing the line
13
- """
14
-
15
- points: typing.List[GeoPoint] = pydantic.Field()
16
- """
17
- Ordered sequence of GeoPoints representing the line
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
@@ -1,31 +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
-
8
-
9
- class GeoPoint(UniversalBaseModel):
10
- """
11
- Geo point payload schema
12
- """
13
-
14
- lon: float = pydantic.Field()
15
- """
16
- Geo point payload schema
17
- """
18
-
19
- lat: float = pydantic.Field()
20
- """
21
- Geo point payload schema
22
- """
23
-
24
- if IS_PYDANTIC_V2:
25
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
26
- else:
27
-
28
- class Config:
29
- frozen = True
30
- smart_union = True
31
- extra = pydantic.Extra.allow
@@ -1,32 +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 .geo_line_string import GeoLineString
8
-
9
-
10
- class GeoPolygon(UniversalBaseModel):
11
- """
12
- Geo filter request Matches coordinates inside the polygon, defined by `exterior` and `interiors`
13
- """
14
-
15
- exterior: GeoLineString = pydantic.Field()
16
- """
17
- Geo filter request Matches coordinates inside the polygon, defined by `exterior` and `interiors`
18
- """
19
-
20
- interiors: typing.Optional[typing.List[GeoLineString]] = pydantic.Field(default=None)
21
- """
22
- Interior lines (if present) bound holes within the surface each GeoLineString must consist of a minimum of 4 points, and the first and last points must be the same.
23
- """
24
-
25
- if IS_PYDANTIC_V2:
26
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
27
- else:
28
-
29
- class Config:
30
- frozen = True
31
- smart_union = True
32
- extra = pydantic.Extra.allow
@@ -1,32 +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 .geo_point import GeoPoint
8
-
9
-
10
- class GeoRadius(UniversalBaseModel):
11
- """
12
- Geo filter request Matches coordinates inside the circle of `radius` and center with coordinates `center`
13
- """
14
-
15
- center: GeoPoint = pydantic.Field()
16
- """
17
- Geo filter request Matches coordinates inside the circle of `radius` and center with coordinates `center`
18
- """
19
-
20
- radius: float = pydantic.Field()
21
- """
22
- Radius of the area in meters
23
- """
24
-
25
- if IS_PYDANTIC_V2:
26
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
27
- else:
28
-
29
- class Config:
30
- frozen = True
31
- smart_union = True
32
- extra = pydantic.Extra.allow
airweave/types/gt.py DELETED
@@ -1,6 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import datetime as dt
4
- import typing
5
-
6
- Gt = typing.Union[dt.datetime, str]
airweave/types/gte.py DELETED
@@ -1,6 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import datetime as dt
4
- import typing
5
-
6
- Gte = typing.Union[dt.datetime, str]
@@ -1,27 +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 .has_id_condition_has_id_item import HasIdConditionHasIdItem
8
-
9
-
10
- class HasIdCondition(UniversalBaseModel):
11
- """
12
- ID-based filtering condition
13
- """
14
-
15
- has_id: typing.List[HasIdConditionHasIdItem] = pydantic.Field()
16
- """
17
- ID-based filtering condition
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- HasIdConditionHasIdItem = typing.Union[int, str]
@@ -1,26 +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
-
8
-
9
- class HasVectorCondition(UniversalBaseModel):
10
- """
11
- Filter points which have specific vector assigned
12
- """
13
-
14
- has_vector: str = pydantic.Field()
15
- """
16
- Filter points which have specific vector assigned
17
- """
18
-
19
- if IS_PYDANTIC_V2:
20
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
- else:
22
-
23
- class Config:
24
- frozen = True
25
- smart_union = True
26
- extra = pydantic.Extra.allow
@@ -1,27 +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 .payload_field import PayloadField
8
-
9
-
10
- class IsEmptyCondition(UniversalBaseModel):
11
- """
12
- Select points with empty payload for a specified field
13
- """
14
-
15
- is_empty: PayloadField = pydantic.Field()
16
- """
17
- Select points with empty payload for a specified field
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow