airweave-sdk 0.8.48__py3-none-any.whl → 0.8.58__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 (47) 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/collection.py +2 -2
  5. airweave/types/legacy_search_request.py +3 -13
  6. {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.58.dist-info}/METADATA +1 -1
  7. {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.58.dist-info}/RECORD +8 -47
  8. airweave/types/any.py +0 -5
  9. airweave/types/datetime_range.py +0 -45
  10. airweave/types/except_.py +0 -5
  11. airweave/types/field_condition.py +0 -72
  12. airweave/types/filter.py +0 -53
  13. airweave/types/filter_must_item.py +0 -18
  14. airweave/types/filter_must_not.py +0 -26
  15. airweave/types/filter_must_not_item.py +0 -18
  16. airweave/types/filter_should_item.py +0 -18
  17. airweave/types/geo_bounding_box.py +0 -32
  18. airweave/types/geo_line_string.py +0 -27
  19. airweave/types/geo_point.py +0 -31
  20. airweave/types/geo_polygon.py +0 -32
  21. airweave/types/geo_radius.py +0 -32
  22. airweave/types/gt.py +0 -6
  23. airweave/types/gte.py +0 -6
  24. airweave/types/has_id_condition.py +0 -27
  25. airweave/types/has_id_condition_has_id_item.py +0 -5
  26. airweave/types/has_vector_condition.py +0 -26
  27. airweave/types/is_empty_condition.py +0 -27
  28. airweave/types/is_null_condition.py +0 -27
  29. airweave/types/lt.py +0 -6
  30. airweave/types/lte.py +0 -6
  31. airweave/types/match.py +0 -11
  32. airweave/types/match_any.py +0 -27
  33. airweave/types/match_except.py +0 -29
  34. airweave/types/match_phrase.py +0 -26
  35. airweave/types/match_text.py +0 -26
  36. airweave/types/match_value.py +0 -27
  37. airweave/types/min_should.py +0 -37
  38. airweave/types/min_should_conditions_item.py +0 -18
  39. airweave/types/must.py +0 -26
  40. airweave/types/nested.py +0 -40
  41. airweave/types/nested_condition.py +0 -31
  42. airweave/types/payload_field.py +0 -26
  43. airweave/types/range.py +0 -41
  44. airweave/types/should.py +0 -26
  45. airweave/types/value.py +0 -5
  46. airweave/types/values_count.py +0 -41
  47. {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.58.dist-info}/WHEEL +0 -0
airweave/__init__.py CHANGED
@@ -11,7 +11,6 @@ if typing.TYPE_CHECKING:
11
11
  ActionCheckResponse,
12
12
  AdminSearchDestination,
13
13
  AdminSyncInfo,
14
- Any,
15
14
  ApiKey,
16
15
  ApiKeyCreate,
17
16
  AuthProvider,
@@ -43,7 +42,6 @@ if typing.TYPE_CHECKING:
43
42
  CursorConfig,
44
43
  CustomerPortalRequest,
45
44
  CustomerPortalResponse,
46
- DatetimeRange,
47
45
  Destination,
48
46
  DestinationConfig,
49
47
  DestinationWithAuthenticationFields,
@@ -62,45 +60,18 @@ if typing.TYPE_CHECKING:
62
60
  EntityType,
63
61
  EntityTypeStats,
64
62
  EventType,
65
- Except,
66
63
  FeatureFlag,
67
- FieldCondition,
68
64
  Fields,
69
- Filter,
70
- FilterMustItem,
71
- FilterMustNot,
72
- FilterMustNotItem,
73
- FilterShouldItem,
74
- GeoBoundingBox,
75
- GeoLineString,
76
- GeoPoint,
77
- GeoPolygon,
78
- GeoRadius,
79
- Gt,
80
- Gte,
81
65
  HandlerConfig,
82
- HasIdCondition,
83
- HasIdConditionHasIdItem,
84
- HasVectorCondition,
85
66
  HttpValidationError,
86
67
  IntegrationCredentialInDb,
87
68
  IntegrationCredentialRawCreate,
88
69
  IntegrationType,
89
70
  InvitationCreate,
90
71
  InvitationResponse,
91
- IsEmptyCondition,
92
- IsNullCondition,
93
72
  LegacySearchRequest,
94
73
  LegacySearchRequestSearchMethod,
95
74
  LegacySearchResponse,
96
- Lt,
97
- Lte,
98
- Match,
99
- MatchAny,
100
- MatchExcept,
101
- MatchPhrase,
102
- MatchText,
103
- MatchValue,
104
75
  MemberResponse,
105
76
  MessageAttemptOut,
106
77
  MessageAttemptTriggerType,
@@ -108,12 +79,7 @@ if typing.TYPE_CHECKING:
108
79
  MessageResponse,
109
80
  MessageStatus,
110
81
  MessageStatusText,
111
- MinShould,
112
- MinShouldConditionsItem,
113
82
  MinuteLevelScheduleConfig,
114
- Must,
115
- Nested,
116
- NestedCondition,
117
83
  OAuthBrowserAuthentication,
118
84
  OAuthTokenAuthentication,
119
85
  OAuthType,
@@ -123,9 +89,7 @@ if typing.TYPE_CHECKING:
123
89
  OrganizationMetrics,
124
90
  OrganizationWithRole,
125
91
  PatchSubscriptionRequest,
126
- PayloadField,
127
92
  QueryExpansionStrategy,
128
- Range,
129
93
  ResponseType,
130
94
  RetrievalStrategy,
131
95
  S3ConfigRequest,
@@ -136,7 +100,6 @@ if typing.TYPE_CHECKING:
136
100
  SearchRequest,
137
101
  SearchResponse,
138
102
  SearchStatus,
139
- Should,
140
103
  SingleActionCheckResponse,
141
104
  SingleActionCheckResponseReason,
142
105
  Source,
@@ -170,8 +133,6 @@ if typing.TYPE_CHECKING:
170
133
  UserOrganization,
171
134
  ValidationError,
172
135
  ValidationErrorLocItem,
173
- Value,
174
- ValuesCount,
175
136
  )
176
137
  from .errors import UnprocessableEntityError
177
138
  from . import collections, source_connections, sources
@@ -187,7 +148,6 @@ _dynamic_imports: typing.Dict[str, str] = {
187
148
  "AdminSyncInfo": ".types",
188
149
  "AirweaveSDK": ".client",
189
150
  "AirweaveSDKEnvironment": ".environment",
190
- "Any": ".types",
191
151
  "ApiKey": ".types",
192
152
  "ApiKeyCreate": ".types",
193
153
  "AsyncAirweaveSDK": ".client",
@@ -221,7 +181,6 @@ _dynamic_imports: typing.Dict[str, str] = {
221
181
  "CursorConfig": ".types",
222
182
  "CustomerPortalRequest": ".types",
223
183
  "CustomerPortalResponse": ".types",
224
- "DatetimeRange": ".types",
225
184
  "Destination": ".types",
226
185
  "DestinationConfig": ".types",
227
186
  "DestinationWithAuthenticationFields": ".types",
@@ -240,45 +199,18 @@ _dynamic_imports: typing.Dict[str, str] = {
240
199
  "EntityType": ".types",
241
200
  "EntityTypeStats": ".types",
242
201
  "EventType": ".types",
243
- "Except": ".types",
244
202
  "FeatureFlag": ".types",
245
- "FieldCondition": ".types",
246
203
  "Fields": ".types",
247
- "Filter": ".types",
248
- "FilterMustItem": ".types",
249
- "FilterMustNot": ".types",
250
- "FilterMustNotItem": ".types",
251
- "FilterShouldItem": ".types",
252
- "GeoBoundingBox": ".types",
253
- "GeoLineString": ".types",
254
- "GeoPoint": ".types",
255
- "GeoPolygon": ".types",
256
- "GeoRadius": ".types",
257
- "Gt": ".types",
258
- "Gte": ".types",
259
204
  "HandlerConfig": ".types",
260
- "HasIdCondition": ".types",
261
- "HasIdConditionHasIdItem": ".types",
262
- "HasVectorCondition": ".types",
263
205
  "HttpValidationError": ".types",
264
206
  "IntegrationCredentialInDb": ".types",
265
207
  "IntegrationCredentialRawCreate": ".types",
266
208
  "IntegrationType": ".types",
267
209
  "InvitationCreate": ".types",
268
210
  "InvitationResponse": ".types",
269
- "IsEmptyCondition": ".types",
270
- "IsNullCondition": ".types",
271
211
  "LegacySearchRequest": ".types",
272
212
  "LegacySearchRequestSearchMethod": ".types",
273
213
  "LegacySearchResponse": ".types",
274
- "Lt": ".types",
275
- "Lte": ".types",
276
- "Match": ".types",
277
- "MatchAny": ".types",
278
- "MatchExcept": ".types",
279
- "MatchPhrase": ".types",
280
- "MatchText": ".types",
281
- "MatchValue": ".types",
282
214
  "MemberResponse": ".types",
283
215
  "MessageAttemptOut": ".types",
284
216
  "MessageAttemptTriggerType": ".types",
@@ -286,12 +218,7 @@ _dynamic_imports: typing.Dict[str, str] = {
286
218
  "MessageResponse": ".types",
287
219
  "MessageStatus": ".types",
288
220
  "MessageStatusText": ".types",
289
- "MinShould": ".types",
290
- "MinShouldConditionsItem": ".types",
291
221
  "MinuteLevelScheduleConfig": ".types",
292
- "Must": ".types",
293
- "Nested": ".types",
294
- "NestedCondition": ".types",
295
222
  "OAuthBrowserAuthentication": ".types",
296
223
  "OAuthTokenAuthentication": ".types",
297
224
  "OAuthType": ".types",
@@ -301,9 +228,7 @@ _dynamic_imports: typing.Dict[str, str] = {
301
228
  "OrganizationMetrics": ".types",
302
229
  "OrganizationWithRole": ".types",
303
230
  "PatchSubscriptionRequest": ".types",
304
- "PayloadField": ".types",
305
231
  "QueryExpansionStrategy": ".types",
306
- "Range": ".types",
307
232
  "ResponseType": ".types",
308
233
  "RetrievalStrategy": ".types",
309
234
  "S3ConfigRequest": ".types",
@@ -316,7 +241,6 @@ _dynamic_imports: typing.Dict[str, str] = {
316
241
  "SearchRequest": ".types",
317
242
  "SearchResponse": ".types",
318
243
  "SearchStatus": ".types",
319
- "Should": ".types",
320
244
  "SingleActionCheckResponse": ".types",
321
245
  "SingleActionCheckResponseReason": ".types",
322
246
  "Source": ".types",
@@ -351,8 +275,6 @@ _dynamic_imports: typing.Dict[str, str] = {
351
275
  "UserOrganization": ".types",
352
276
  "ValidationError": ".types",
353
277
  "ValidationErrorLocItem": ".types",
354
- "Value": ".types",
355
- "ValuesCount": ".types",
356
278
  "__version__": ".version",
357
279
  "collections": ".collections",
358
280
  "source_connections": ".source_connections",
@@ -388,7 +310,6 @@ __all__ = [
388
310
  "AdminSyncInfo",
389
311
  "AirweaveSDK",
390
312
  "AirweaveSDKEnvironment",
391
- "Any",
392
313
  "ApiKey",
393
314
  "ApiKeyCreate",
394
315
  "AsyncAirweaveSDK",
@@ -422,7 +343,6 @@ __all__ = [
422
343
  "CursorConfig",
423
344
  "CustomerPortalRequest",
424
345
  "CustomerPortalResponse",
425
- "DatetimeRange",
426
346
  "Destination",
427
347
  "DestinationConfig",
428
348
  "DestinationWithAuthenticationFields",
@@ -441,45 +361,18 @@ __all__ = [
441
361
  "EntityType",
442
362
  "EntityTypeStats",
443
363
  "EventType",
444
- "Except",
445
364
  "FeatureFlag",
446
- "FieldCondition",
447
365
  "Fields",
448
- "Filter",
449
- "FilterMustItem",
450
- "FilterMustNot",
451
- "FilterMustNotItem",
452
- "FilterShouldItem",
453
- "GeoBoundingBox",
454
- "GeoLineString",
455
- "GeoPoint",
456
- "GeoPolygon",
457
- "GeoRadius",
458
- "Gt",
459
- "Gte",
460
366
  "HandlerConfig",
461
- "HasIdCondition",
462
- "HasIdConditionHasIdItem",
463
- "HasVectorCondition",
464
367
  "HttpValidationError",
465
368
  "IntegrationCredentialInDb",
466
369
  "IntegrationCredentialRawCreate",
467
370
  "IntegrationType",
468
371
  "InvitationCreate",
469
372
  "InvitationResponse",
470
- "IsEmptyCondition",
471
- "IsNullCondition",
472
373
  "LegacySearchRequest",
473
374
  "LegacySearchRequestSearchMethod",
474
375
  "LegacySearchResponse",
475
- "Lt",
476
- "Lte",
477
- "Match",
478
- "MatchAny",
479
- "MatchExcept",
480
- "MatchPhrase",
481
- "MatchText",
482
- "MatchValue",
483
376
  "MemberResponse",
484
377
  "MessageAttemptOut",
485
378
  "MessageAttemptTriggerType",
@@ -487,12 +380,7 @@ __all__ = [
487
380
  "MessageResponse",
488
381
  "MessageStatus",
489
382
  "MessageStatusText",
490
- "MinShould",
491
- "MinShouldConditionsItem",
492
383
  "MinuteLevelScheduleConfig",
493
- "Must",
494
- "Nested",
495
- "NestedCondition",
496
384
  "OAuthBrowserAuthentication",
497
385
  "OAuthTokenAuthentication",
498
386
  "OAuthType",
@@ -502,9 +390,7 @@ __all__ = [
502
390
  "OrganizationMetrics",
503
391
  "OrganizationWithRole",
504
392
  "PatchSubscriptionRequest",
505
- "PayloadField",
506
393
  "QueryExpansionStrategy",
507
- "Range",
508
394
  "ResponseType",
509
395
  "RetrievalStrategy",
510
396
  "S3ConfigRequest",
@@ -517,7 +403,6 @@ __all__ = [
517
403
  "SearchRequest",
518
404
  "SearchResponse",
519
405
  "SearchStatus",
520
- "Should",
521
406
  "SingleActionCheckResponse",
522
407
  "SingleActionCheckResponseReason",
523
408
  "Source",
@@ -552,8 +437,6 @@ __all__ = [
552
437
  "UserOrganization",
553
438
  "ValidationError",
554
439
  "ValidationErrorLocItem",
555
- "Value",
556
- "ValuesCount",
557
440
  "__version__",
558
441
  "collections",
559
442
  "source_connections",
@@ -26,10 +26,10 @@ class BaseClientWrapper:
26
26
 
27
27
  def get_headers(self) -> typing.Dict[str, str]:
28
28
  headers: typing.Dict[str, str] = {
29
- "User-Agent": "airweave-sdk/v0.8.48",
29
+ "User-Agent": "airweave-sdk/v0.8.58",
30
30
  "X-Fern-Language": "Python",
31
31
  "X-Fern-SDK-Name": "airweave-sdk",
32
- "X-Fern-SDK-Version": "v0.8.48",
32
+ "X-Fern-SDK-Version": "v0.8.58",
33
33
  **(self.get_custom_headers() or {}),
34
34
  }
35
35
  if self._framework_name is not None:
@@ -10,7 +10,6 @@ if typing.TYPE_CHECKING:
10
10
  from .action_check_response import ActionCheckResponse
11
11
  from .admin_search_destination import AdminSearchDestination
12
12
  from .admin_sync_info import AdminSyncInfo
13
- from .any import Any
14
13
  from .api_key import ApiKey
15
14
  from .api_key_create import ApiKeyCreate
16
15
  from .auth_provider import AuthProvider
@@ -46,7 +45,6 @@ if typing.TYPE_CHECKING:
46
45
  from .cursor_config import CursorConfig
47
46
  from .customer_portal_request import CustomerPortalRequest
48
47
  from .customer_portal_response import CustomerPortalResponse
49
- from .datetime_range import DatetimeRange
50
48
  from .destination import Destination
51
49
  from .destination_config import DestinationConfig
52
50
  from .destination_with_authentication_fields import DestinationWithAuthenticationFields
@@ -65,45 +63,18 @@ if typing.TYPE_CHECKING:
65
63
  from .entity_type import EntityType
66
64
  from .entity_type_stats import EntityTypeStats
67
65
  from .event_type import EventType
68
- from .except_ import Except
69
66
  from .feature_flag import FeatureFlag
70
- from .field_condition import FieldCondition
71
67
  from .fields import Fields
72
- from .filter import Filter
73
- from .filter_must_item import FilterMustItem
74
- from .filter_must_not import FilterMustNot
75
- from .filter_must_not_item import FilterMustNotItem
76
- from .filter_should_item import FilterShouldItem
77
- from .geo_bounding_box import GeoBoundingBox
78
- from .geo_line_string import GeoLineString
79
- from .geo_point import GeoPoint
80
- from .geo_polygon import GeoPolygon
81
- from .geo_radius import GeoRadius
82
- from .gt import Gt
83
- from .gte import Gte
84
68
  from .handler_config import HandlerConfig
85
- from .has_id_condition import HasIdCondition
86
- from .has_id_condition_has_id_item import HasIdConditionHasIdItem
87
- from .has_vector_condition import HasVectorCondition
88
69
  from .http_validation_error import HttpValidationError
89
70
  from .integration_credential_in_db import IntegrationCredentialInDb
90
71
  from .integration_credential_raw_create import IntegrationCredentialRawCreate
91
72
  from .integration_type import IntegrationType
92
73
  from .invitation_create import InvitationCreate
93
74
  from .invitation_response import InvitationResponse
94
- from .is_empty_condition import IsEmptyCondition
95
- from .is_null_condition import IsNullCondition
96
75
  from .legacy_search_request import LegacySearchRequest
97
76
  from .legacy_search_request_search_method import LegacySearchRequestSearchMethod
98
77
  from .legacy_search_response import LegacySearchResponse
99
- from .lt import Lt
100
- from .lte import Lte
101
- from .match import Match
102
- from .match_any import MatchAny
103
- from .match_except import MatchExcept
104
- from .match_phrase import MatchPhrase
105
- from .match_text import MatchText
106
- from .match_value import MatchValue
107
78
  from .member_response import MemberResponse
108
79
  from .message_attempt_out import MessageAttemptOut
109
80
  from .message_attempt_trigger_type import MessageAttemptTriggerType
@@ -111,12 +82,7 @@ if typing.TYPE_CHECKING:
111
82
  from .message_response import MessageResponse
112
83
  from .message_status import MessageStatus
113
84
  from .message_status_text import MessageStatusText
114
- from .min_should import MinShould
115
- from .min_should_conditions_item import MinShouldConditionsItem
116
85
  from .minute_level_schedule_config import MinuteLevelScheduleConfig
117
- from .must import Must
118
- from .nested import Nested
119
- from .nested_condition import NestedCondition
120
86
  from .o_auth_browser_authentication import OAuthBrowserAuthentication
121
87
  from .o_auth_token_authentication import OAuthTokenAuthentication
122
88
  from .o_auth_type import OAuthType
@@ -126,9 +92,7 @@ if typing.TYPE_CHECKING:
126
92
  from .organization_metrics import OrganizationMetrics
127
93
  from .organization_with_role import OrganizationWithRole
128
94
  from .patch_subscription_request import PatchSubscriptionRequest
129
- from .payload_field import PayloadField
130
95
  from .query_expansion_strategy import QueryExpansionStrategy
131
- from .range import Range
132
96
  from .response_type import ResponseType
133
97
  from .retrieval_strategy import RetrievalStrategy
134
98
  from .s_3_config_request import S3ConfigRequest
@@ -139,7 +103,6 @@ if typing.TYPE_CHECKING:
139
103
  from .search_request import SearchRequest
140
104
  from .search_response import SearchResponse
141
105
  from .search_status import SearchStatus
142
- from .should import Should
143
106
  from .single_action_check_response import SingleActionCheckResponse
144
107
  from .single_action_check_response_reason import SingleActionCheckResponseReason
145
108
  from .source import Source
@@ -173,14 +136,11 @@ if typing.TYPE_CHECKING:
173
136
  from .user_organization import UserOrganization
174
137
  from .validation_error import ValidationError
175
138
  from .validation_error_loc_item import ValidationErrorLocItem
176
- from .value import Value
177
- from .values_count import ValuesCount
178
139
  _dynamic_imports: typing.Dict[str, str] = {
179
140
  "ActionCheckRequest": ".action_check_request",
180
141
  "ActionCheckResponse": ".action_check_response",
181
142
  "AdminSearchDestination": ".admin_search_destination",
182
143
  "AdminSyncInfo": ".admin_sync_info",
183
- "Any": ".any",
184
144
  "ApiKey": ".api_key",
185
145
  "ApiKeyCreate": ".api_key_create",
186
146
  "AuthProvider": ".auth_provider",
@@ -212,7 +172,6 @@ _dynamic_imports: typing.Dict[str, str] = {
212
172
  "CursorConfig": ".cursor_config",
213
173
  "CustomerPortalRequest": ".customer_portal_request",
214
174
  "CustomerPortalResponse": ".customer_portal_response",
215
- "DatetimeRange": ".datetime_range",
216
175
  "Destination": ".destination",
217
176
  "DestinationConfig": ".destination_config",
218
177
  "DestinationWithAuthenticationFields": ".destination_with_authentication_fields",
@@ -231,45 +190,18 @@ _dynamic_imports: typing.Dict[str, str] = {
231
190
  "EntityType": ".entity_type",
232
191
  "EntityTypeStats": ".entity_type_stats",
233
192
  "EventType": ".event_type",
234
- "Except": ".except_",
235
193
  "FeatureFlag": ".feature_flag",
236
- "FieldCondition": ".field_condition",
237
194
  "Fields": ".fields",
238
- "Filter": ".filter",
239
- "FilterMustItem": ".filter_must_item",
240
- "FilterMustNot": ".filter_must_not",
241
- "FilterMustNotItem": ".filter_must_not_item",
242
- "FilterShouldItem": ".filter_should_item",
243
- "GeoBoundingBox": ".geo_bounding_box",
244
- "GeoLineString": ".geo_line_string",
245
- "GeoPoint": ".geo_point",
246
- "GeoPolygon": ".geo_polygon",
247
- "GeoRadius": ".geo_radius",
248
- "Gt": ".gt",
249
- "Gte": ".gte",
250
195
  "HandlerConfig": ".handler_config",
251
- "HasIdCondition": ".has_id_condition",
252
- "HasIdConditionHasIdItem": ".has_id_condition_has_id_item",
253
- "HasVectorCondition": ".has_vector_condition",
254
196
  "HttpValidationError": ".http_validation_error",
255
197
  "IntegrationCredentialInDb": ".integration_credential_in_db",
256
198
  "IntegrationCredentialRawCreate": ".integration_credential_raw_create",
257
199
  "IntegrationType": ".integration_type",
258
200
  "InvitationCreate": ".invitation_create",
259
201
  "InvitationResponse": ".invitation_response",
260
- "IsEmptyCondition": ".is_empty_condition",
261
- "IsNullCondition": ".is_null_condition",
262
202
  "LegacySearchRequest": ".legacy_search_request",
263
203
  "LegacySearchRequestSearchMethod": ".legacy_search_request_search_method",
264
204
  "LegacySearchResponse": ".legacy_search_response",
265
- "Lt": ".lt",
266
- "Lte": ".lte",
267
- "Match": ".match",
268
- "MatchAny": ".match_any",
269
- "MatchExcept": ".match_except",
270
- "MatchPhrase": ".match_phrase",
271
- "MatchText": ".match_text",
272
- "MatchValue": ".match_value",
273
205
  "MemberResponse": ".member_response",
274
206
  "MessageAttemptOut": ".message_attempt_out",
275
207
  "MessageAttemptTriggerType": ".message_attempt_trigger_type",
@@ -277,12 +209,7 @@ _dynamic_imports: typing.Dict[str, str] = {
277
209
  "MessageResponse": ".message_response",
278
210
  "MessageStatus": ".message_status",
279
211
  "MessageStatusText": ".message_status_text",
280
- "MinShould": ".min_should",
281
- "MinShouldConditionsItem": ".min_should_conditions_item",
282
212
  "MinuteLevelScheduleConfig": ".minute_level_schedule_config",
283
- "Must": ".must",
284
- "Nested": ".nested",
285
- "NestedCondition": ".nested_condition",
286
213
  "OAuthBrowserAuthentication": ".o_auth_browser_authentication",
287
214
  "OAuthTokenAuthentication": ".o_auth_token_authentication",
288
215
  "OAuthType": ".o_auth_type",
@@ -292,9 +219,7 @@ _dynamic_imports: typing.Dict[str, str] = {
292
219
  "OrganizationMetrics": ".organization_metrics",
293
220
  "OrganizationWithRole": ".organization_with_role",
294
221
  "PatchSubscriptionRequest": ".patch_subscription_request",
295
- "PayloadField": ".payload_field",
296
222
  "QueryExpansionStrategy": ".query_expansion_strategy",
297
- "Range": ".range",
298
223
  "ResponseType": ".response_type",
299
224
  "RetrievalStrategy": ".retrieval_strategy",
300
225
  "S3ConfigRequest": ".s_3_config_request",
@@ -305,7 +230,6 @@ _dynamic_imports: typing.Dict[str, str] = {
305
230
  "SearchRequest": ".search_request",
306
231
  "SearchResponse": ".search_response",
307
232
  "SearchStatus": ".search_status",
308
- "Should": ".should",
309
233
  "SingleActionCheckResponse": ".single_action_check_response",
310
234
  "SingleActionCheckResponseReason": ".single_action_check_response_reason",
311
235
  "Source": ".source",
@@ -339,8 +263,6 @@ _dynamic_imports: typing.Dict[str, str] = {
339
263
  "UserOrganization": ".user_organization",
340
264
  "ValidationError": ".validation_error",
341
265
  "ValidationErrorLocItem": ".validation_error_loc_item",
342
- "Value": ".value",
343
- "ValuesCount": ".values_count",
344
266
  }
345
267
 
346
268
 
@@ -370,7 +292,6 @@ __all__ = [
370
292
  "ActionCheckResponse",
371
293
  "AdminSearchDestination",
372
294
  "AdminSyncInfo",
373
- "Any",
374
295
  "ApiKey",
375
296
  "ApiKeyCreate",
376
297
  "AuthProvider",
@@ -402,7 +323,6 @@ __all__ = [
402
323
  "CursorConfig",
403
324
  "CustomerPortalRequest",
404
325
  "CustomerPortalResponse",
405
- "DatetimeRange",
406
326
  "Destination",
407
327
  "DestinationConfig",
408
328
  "DestinationWithAuthenticationFields",
@@ -421,45 +341,18 @@ __all__ = [
421
341
  "EntityType",
422
342
  "EntityTypeStats",
423
343
  "EventType",
424
- "Except",
425
344
  "FeatureFlag",
426
- "FieldCondition",
427
345
  "Fields",
428
- "Filter",
429
- "FilterMustItem",
430
- "FilterMustNot",
431
- "FilterMustNotItem",
432
- "FilterShouldItem",
433
- "GeoBoundingBox",
434
- "GeoLineString",
435
- "GeoPoint",
436
- "GeoPolygon",
437
- "GeoRadius",
438
- "Gt",
439
- "Gte",
440
346
  "HandlerConfig",
441
- "HasIdCondition",
442
- "HasIdConditionHasIdItem",
443
- "HasVectorCondition",
444
347
  "HttpValidationError",
445
348
  "IntegrationCredentialInDb",
446
349
  "IntegrationCredentialRawCreate",
447
350
  "IntegrationType",
448
351
  "InvitationCreate",
449
352
  "InvitationResponse",
450
- "IsEmptyCondition",
451
- "IsNullCondition",
452
353
  "LegacySearchRequest",
453
354
  "LegacySearchRequestSearchMethod",
454
355
  "LegacySearchResponse",
455
- "Lt",
456
- "Lte",
457
- "Match",
458
- "MatchAny",
459
- "MatchExcept",
460
- "MatchPhrase",
461
- "MatchText",
462
- "MatchValue",
463
356
  "MemberResponse",
464
357
  "MessageAttemptOut",
465
358
  "MessageAttemptTriggerType",
@@ -467,12 +360,7 @@ __all__ = [
467
360
  "MessageResponse",
468
361
  "MessageStatus",
469
362
  "MessageStatusText",
470
- "MinShould",
471
- "MinShouldConditionsItem",
472
363
  "MinuteLevelScheduleConfig",
473
- "Must",
474
- "Nested",
475
- "NestedCondition",
476
364
  "OAuthBrowserAuthentication",
477
365
  "OAuthTokenAuthentication",
478
366
  "OAuthType",
@@ -482,9 +370,7 @@ __all__ = [
482
370
  "OrganizationMetrics",
483
371
  "OrganizationWithRole",
484
372
  "PatchSubscriptionRequest",
485
- "PayloadField",
486
373
  "QueryExpansionStrategy",
487
- "Range",
488
374
  "ResponseType",
489
375
  "RetrievalStrategy",
490
376
  "S3ConfigRequest",
@@ -495,7 +381,6 @@ __all__ = [
495
381
  "SearchRequest",
496
382
  "SearchResponse",
497
383
  "SearchStatus",
498
- "Should",
499
384
  "SingleActionCheckResponse",
500
385
  "SingleActionCheckResponseReason",
501
386
  "Source",
@@ -529,6 +414,4 @@ __all__ = [
529
414
  "UserOrganization",
530
415
  "ValidationError",
531
416
  "ValidationErrorLocItem",
532
- "Value",
533
- "ValuesCount",
534
417
  ]
@@ -34,12 +34,12 @@ class Collection(UniversalBaseModel):
34
34
 
35
35
  vector_size: int = pydantic.Field()
36
36
  """
37
- Vector dimensions used by this collection. Determines which embedding model is used: 3072 (text-embedding-3-large), 1536 (text-embedding-3-small), or 384 (MiniLM-L6-v2).
37
+ Vector dimensions used by this collection. Determines which embedding model is used: 3072 (text-embedding-3-large), 1536 (text-embedding-3-small), 1024 (mistral-embed), or 384 (MiniLM-L6-v2).
38
38
  """
39
39
 
40
40
  embedding_model_name: str = pydantic.Field()
41
41
  """
42
- Name of the embedding model used for this collection (e.g., 'text-embedding-3-large', 'text-embedding-3-small'). This ensures queries use the same model as the indexed data.
42
+ Name of the embedding model used for this collection (e.g., 'text-embedding-3-large', 'text-embedding-3-small', 'mistral-embed'). This ensures queries use the same model as the indexed data.
43
43
  """
44
44
 
45
45
  sync_config: typing.Optional[SyncConfig] = pydantic.Field(default=None)
@@ -1,11 +1,9 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
-
5
3
  import typing
6
4
 
7
5
  import pydantic
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
9
7
  from .legacy_search_request_search_method import LegacySearchRequestSearchMethod
10
8
  from .query_expansion_strategy import QueryExpansionStrategy
11
9
  from .response_type import ResponseType
@@ -21,9 +19,9 @@ class LegacySearchRequest(UniversalBaseModel):
21
19
  The search query text (max 2048 tokens)
22
20
  """
23
21
 
24
- filter: typing.Optional["Filter"] = pydantic.Field(default=None)
22
+ filter: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
25
23
  """
26
- Qdrant native filter for metadata-based filtering
24
+ Filter for metadata-based filtering
27
25
  """
28
26
 
29
27
  offset: typing.Optional[int] = pydantic.Field(default=None)
@@ -79,11 +77,3 @@ class LegacySearchRequest(UniversalBaseModel):
79
77
  frozen = True
80
78
  smart_union = True
81
79
  extra = pydantic.Extra.allow
82
-
83
-
84
- from .filter import Filter # noqa: E402, F401, I001
85
- from .min_should import MinShould # noqa: E402, F401, I001
86
- from .nested import Nested # noqa: E402, F401, I001
87
- from .nested_condition import NestedCondition # noqa: E402, F401, I001
88
-
89
- update_forward_refs(LegacySearchRequest)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airweave-sdk
3
- Version: 0.8.48
3
+ Version: 0.8.58
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers