airweave-sdk 0.8.38__py3-none-any.whl → 0.8.48__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.
airweave/__init__.py CHANGED
@@ -29,6 +29,7 @@ if typing.TYPE_CHECKING:
29
29
  BillingStatus,
30
30
  BillingTransition,
31
31
  BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost,
32
+ BodyResyncWithExecutionConfigAdminResyncSyncIdPost,
32
33
  CheckoutSessionRequest,
33
34
  CheckoutSessionResponse,
34
35
  Collection,
@@ -206,6 +207,7 @@ _dynamic_imports: typing.Dict[str, str] = {
206
207
  "BillingStatus": ".types",
207
208
  "BillingTransition": ".types",
208
209
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost": ".types",
210
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost": ".types",
209
211
  "CheckoutSessionRequest": ".types",
210
212
  "CheckoutSessionResponse": ".types",
211
213
  "Collection": ".types",
@@ -406,6 +408,7 @@ __all__ = [
406
408
  "BillingStatus",
407
409
  "BillingTransition",
408
410
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost",
411
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost",
409
412
  "CheckoutSessionRequest",
410
413
  "CheckoutSessionResponse",
411
414
  "Collection",
@@ -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.38",
29
+ "User-Agent": "airweave-sdk/v0.8.48",
30
30
  "X-Fern-Language": "Python",
31
31
  "X-Fern-SDK-Name": "airweave-sdk",
32
- "X-Fern-SDK-Version": "v0.8.38",
32
+ "X-Fern-SDK-Version": "v0.8.48",
33
33
  **(self.get_custom_headers() or {}),
34
34
  }
35
35
  if self._framework_name is not None:
@@ -30,6 +30,9 @@ if typing.TYPE_CHECKING:
30
30
  from .body_connect_slack_with_token_connections_direct_token_slack_post import (
31
31
  BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost,
32
32
  )
33
+ from .body_resync_with_execution_config_admin_resync_sync_id_post import (
34
+ BodyResyncWithExecutionConfigAdminResyncSyncIdPost,
35
+ )
33
36
  from .checkout_session_request import CheckoutSessionRequest
34
37
  from .checkout_session_response import CheckoutSessionResponse
35
38
  from .collection import Collection
@@ -195,6 +198,7 @@ _dynamic_imports: typing.Dict[str, str] = {
195
198
  "BillingStatus": ".billing_status",
196
199
  "BillingTransition": ".billing_transition",
197
200
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost": ".body_connect_slack_with_token_connections_direct_token_slack_post",
201
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost": ".body_resync_with_execution_config_admin_resync_sync_id_post",
198
202
  "CheckoutSessionRequest": ".checkout_session_request",
199
203
  "CheckoutSessionResponse": ".checkout_session_response",
200
204
  "Collection": ".collection",
@@ -384,6 +388,7 @@ __all__ = [
384
388
  "BillingStatus",
385
389
  "BillingTransition",
386
390
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost",
391
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost",
387
392
  "CheckoutSessionRequest",
388
393
  "CheckoutSessionResponse",
389
394
  "Collection",
@@ -38,12 +38,10 @@ class AdminSyncInfo(UniversalBaseModel):
38
38
  last_job_status: typing.Optional[str] = None
39
39
  last_job_at: typing.Optional[dt.datetime] = None
40
40
  last_job_error: typing.Optional[str] = None
41
+ all_tags: typing.Optional[typing.List[str]] = None
41
42
  source_short_name: typing.Optional[str] = None
42
43
  source_is_authenticated: typing.Optional[bool] = None
43
44
  readable_collection_id: typing.Optional[str] = None
44
- last_vespa_job_id: typing.Optional[str] = None
45
- last_vespa_job_status: typing.Optional[str] = None
46
- last_vespa_job_at: typing.Optional[dt.datetime] = None
47
45
 
48
46
  if IS_PYDANTIC_V2:
49
47
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -0,0 +1,28 @@
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 .sync_config import SyncConfig
8
+
9
+
10
+ class BodyResyncWithExecutionConfigAdminResyncSyncIdPost(UniversalBaseModel):
11
+ execution_config: typing.Optional[SyncConfig] = pydantic.Field(default=None)
12
+ """
13
+ Optional nested SyncConfig for sync behavior (destinations, handlers, cursor, behavior)
14
+ """
15
+
16
+ tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
17
+ """
18
+ Optional tags for filtering and organizing sync jobs (e.g., ['vespa-backfill-01-22-2026', 'manual'])
19
+ """
20
+
21
+ if IS_PYDANTIC_V2:
22
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
23
+ else:
24
+
25
+ class Config:
26
+ frozen = True
27
+ smart_union = True
28
+ extra = pydantic.Extra.allow
@@ -3,6 +3,13 @@
3
3
  import typing
4
4
 
5
5
  FeatureFlag = typing.Union[
6
- typing.Literal["s3_destination", "priority_support", "source_rate_limiting", "zephyr_scale", "api_key_admin_sync"],
6
+ typing.Literal[
7
+ "s3_destination",
8
+ "priority_support",
9
+ "source_rate_limiting",
10
+ "zephyr_scale",
11
+ "sharepoint_2019_v2",
12
+ "api_key_admin_sync",
13
+ ],
7
14
  typing.Any,
8
15
  ]
airweave/types/filter.py CHANGED
@@ -42,12 +42,12 @@ class Filter(UniversalBaseModel):
42
42
  from .min_should import MinShould # noqa: E402, F401, I001
43
43
  from .nested import Nested # noqa: E402, F401, I001
44
44
  from .nested_condition import NestedCondition # noqa: E402, F401, I001
45
- from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
45
+ from .should import Should # noqa: E402, F401, I001
46
46
  from .filter_must_not import FilterMustNot # noqa: E402, F401, I001
47
47
  from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
48
- from .must import Must # 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
48
  from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
49
+ from .min_should_conditions_item import MinShouldConditionsItem # noqa: E402, F401, I001
50
+ from .must import Must # noqa: E402, F401, I001
51
+ from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
52
52
 
53
53
  update_forward_refs(Filter)
@@ -39,7 +39,7 @@ class SearchRequest(UniversalBaseModel):
39
39
 
40
40
  temporal_relevance: typing.Optional[float] = pydantic.Field(default=None)
41
41
  """
42
- Weight recent content higher than older content; 0 = no recency effect, 1 = only recent items matter
42
+ Weight recent content higher than older content; 0 = no recency effect, 1 = only recent items matter. NOTE: This feature is currently under construction and will be ignored.
43
43
  """
44
44
 
45
45
  expand_query: typing.Optional[bool] = pydantic.Field(default=None)
airweave/types/source.py CHANGED
@@ -83,11 +83,21 @@ class Source(UniversalBaseModel):
83
83
  Whether this source's entities have timestamps that enable recency-based ranking. Sources without file-level timestamps (e.g., code repositories) cannot use temporal relevance for search result weighting.
84
84
  """
85
85
 
86
+ supports_access_control: typing.Optional[bool] = pydantic.Field(default=None)
87
+ """
88
+ Whether this source supports document-level access control. Sources with this capability extract ACL information from the source and apply it during search to filter results based on user permissions.
89
+ """
90
+
86
91
  rate_limit_level: typing.Optional[str] = pydantic.Field(default=None)
87
92
  """
88
93
  Rate limiting level for this source: 'org' (organization-wide), 'connection' (per-connection/per-user), or None (no rate limiting).
89
94
  """
90
95
 
96
+ feature_flag: typing.Optional[str] = pydantic.Field(default=None)
97
+ """
98
+ Feature flag required to access this source. If set, only organizations with this feature enabled can see/use this source.
99
+ """
100
+
91
101
  id: str = pydantic.Field()
92
102
  """
93
103
  Unique system identifier for this source type. Generated automatically when the source is registered.
@@ -29,6 +29,7 @@ class SyncJob(UniversalBaseModel):
29
29
  error: typing.Optional[str] = None
30
30
  access_token: typing.Optional[str] = None
31
31
  sync_config: typing.Optional[SyncConfig] = None
32
+ sync_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
32
33
  id: str
33
34
  organization_id: str
34
35
  created_by_email: typing.Optional[str] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airweave-sdk
3
- Version: 0.8.38
3
+ Version: 0.8.48
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- airweave/__init__.py,sha256=nIULERWZU0T4Kg7UUd88YwJ3yNwRLfU-ro6F3Rs3kCY,15856
1
+ airweave/__init__.py,sha256=7xHeTKIDZrOvwKbbsZCYPtbwkO9bc1q1qMiAl-1nIj0,16042
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=FrCuWsZlU8f_PmV5E0fmuN71MMEmUWC6Wb_IipvfOGI,3330
11
+ airweave/core/client_wrapper.py,sha256=Wq2tnOJTAy9j9gmJREc78kIOe6dBDs7mk0tCVFuUBvw,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,11 +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=CudAUaudkLTv6DbCVn0oTPIDoEwST-ht3QcwiYDvYsI,20938
35
+ airweave/types/__init__.py,sha256=S_SYwVJ_y7hC_EjW9bocr5biFJ3LmPvN7TZDPBmAFj0,21263
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
- airweave/types/admin_sync_info.py,sha256=Z1AnEu3b8GQSreaukRNf0ysuiIJw7BkTRI8qM9ydqV4,2095
39
+ airweave/types/admin_sync_info.py,sha256=D2DgxhAnNJi4PUFVdTz9tItsflDT1udMum19Cyj56R4,1985
40
40
  airweave/types/any.py,sha256=egbvB16M2YqzzRlywJcuy_aY82MsSOcmx_4CaQeH_t4,135
41
41
  airweave/types/api_key.py,sha256=uZeJZ6lt4aMMHYwcYpV4aypg99KvVszLqHvTLM9dIB0,939
42
42
  airweave/types/api_key_create.py,sha256=VDKQSyyhCkGwhnVMhWYsxtp6Gckhgm66IIJ9L4uTRAw,722
@@ -55,6 +55,7 @@ airweave/types/billing_plan.py,sha256=SqbwIfQsuNlf-Vlcz0fQRsX_pVo0vxaZxXNwrEiXEs
55
55
  airweave/types/billing_status.py,sha256=toNdBcdm33q9TbHLgczwX8INVo0YZX4tC2Sx0gCoLOs,232
56
56
  airweave/types/billing_transition.py,sha256=9qDaeb6MdLBn8svUmg6813CDWwAOq17kjee5z7_mMLc,236
57
57
  airweave/types/body_connect_slack_with_token_connections_direct_token_slack_post.py,sha256=GlCBmqbBODqzlKz3IARGLZ0NG_FmOdtYoh6pQ8YCMcU,602
58
+ airweave/types/body_resync_with_execution_config_admin_resync_sync_id_post.py,sha256=m6PmikZYrck764dYRvMFl0zJg8clLQtxVD2-gx-DdIw,965
58
59
  airweave/types/checkout_session_request.py,sha256=YNE_3CeNVj-BJCsbvoRBJOpS9fEYJaWg4ylz8XigSg4,860
59
60
  airweave/types/checkout_session_response.py,sha256=FHvMzPRo8xLlRmLjJ2Wqse3pRHm73Q-kQoQTalQLQ7Q,654
60
61
  airweave/types/collection.py,sha256=05VTSpTAK67Ol1nyeT97DOnFM7zYqRjxLVrmgP1dRpk,3092
@@ -88,10 +89,10 @@ airweave/types/entity_type.py,sha256=qQ_xUxfRlenAqMSk2FzW7xy7Auaria2NbI2YS6hsba0
88
89
  airweave/types/entity_type_stats.py,sha256=jEtPf3BD5VdQO85SZ89g2bNclECJ4dQcXyvpjI8vlcA,659
89
90
  airweave/types/event_type.py,sha256=e0ZZS0njvscHVeNFRnlEjAVfQGdE9KLVB8DdVrU1TTA,222
90
91
  airweave/types/except_.py,sha256=Fi6uQ7elnIHIMqK8KUvhBi5_qt0Ma5SL1fonmxuwPaQ,138
91
- airweave/types/feature_flag.py,sha256=Z85oWE6B9RdA7VR17WWJmzm5n4JoNCAfqA9LfCHr6s0,246
92
+ airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
92
93
  airweave/types/field_condition.py,sha256=gqTGY0fKkWD9jMr0B64RzQRGuI_tHMk-gZIJqxTqi18,1999
93
94
  airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
94
- airweave/types/filter.py,sha256=9RhfuZjRNlQmAiQXVcKKQcprudQguSIwIWHTZczlvKg,1787
95
+ airweave/types/filter.py,sha256=ldhuU0A0hHHAn88XXGLDH3bpBoUwZYBNbml056OKy1o,1787
95
96
  airweave/types/filter_must_item.py,sha256=r4vc7x8Bd55uDUXj3tPKQ01-_d9J-6Q1IAlRuzdtuNM,613
96
97
  airweave/types/filter_must_not.py,sha256=EZkCNFMcAC6RMqf-_cVN9dCG94kzTNEnudFzkLM-LMs,731
97
98
  airweave/types/filter_must_not_item.py,sha256=OKD-F6go78FVrgDJjVOWx32Z_Md6R70sO90gU_0ifvg,616
@@ -158,13 +159,13 @@ airweave/types/s_3_config_response.py,sha256=D2O4F448FX3WYyBduWW98Ea31MaXw35qDD1
158
159
  airweave/types/schedule_config.py,sha256=p2_ZXZRXZ9MrzzEdcdXFjzfRIvNUrxHTytCCznat7L4,916
159
160
  airweave/types/schedule_details.py,sha256=okjUj8Pb56zkA8us0nqseIlqqUgDbUwD0ai2ylMifq4,822
160
161
  airweave/types/schedule_response.py,sha256=Xu-oisULnXZh4AHxtzqx4aU13Fi5AsnPtmUAgNRci4w,618
161
- airweave/types/search_request.py,sha256=HZniRmL7DvW7DxYyie5a5xFqjAUgFtYVJfWkxGPqV98,2061
162
+ airweave/types/search_request.py,sha256=vEeNGyfnwcPo-q0hmLb-Su-Lo8kEPbWeln2l-1ljCkA,2134
162
163
  airweave/types/search_response.py,sha256=20jAn-6W8elhzGrZOA004ZbjEhmhfbwBVOP0AMcCAKw,1026
163
164
  airweave/types/search_status.py,sha256=lN617p0-E_fOyCINkfgC4l2YW0qbSLArhaj0Vd4xCWw,184
164
165
  airweave/types/should.py,sha256=y9Ni8MACJS8MuLYPmxb_1xk7ifkzm0PQZ3QfwISqwgo,720
165
166
  airweave/types/single_action_check_response.py,sha256=rw_eopy9_fNMAE_cPhFbC9UFDbr7HT4hfmWyRz95VcQ,1218
166
167
  airweave/types/single_action_check_response_reason.py,sha256=CLAD_TQpSLmVgqpI3f9l-7CaWwqM7FfjgzEpMPYthKs,199
167
- airweave/types/source.py,sha256=PjfD_bwSHY3p75uojQld3yj8Xc_aYIAXYbpgOzQ_cbM,4955
168
+ airweave/types/source.py,sha256=UyG-pCd2qA-jeMI2r09PLC4AMryYXHO-ZC0nkmxZv1Y,5473
168
169
  airweave/types/source_connection.py,sha256=dmFKbPnZ1T0umtya9zCM50CTs9EwYhg3EAFLzZoiiU8,1563
169
170
  airweave/types/source_connection_job.py,sha256=Z-mrbao00pXeGviKfxSRhgilbe7FL8Dl20eTHYZawiM,1197
170
171
  airweave/types/source_connection_list_item.py,sha256=tr1E7vbZq5pJsiJgj1QVFaU7MQVaGYDnBCgBX7SHVBY,1308
@@ -178,7 +179,7 @@ airweave/types/sync.py,sha256=VxDP559q20CTpPjfSIS9Q6si6CJUTmqrwQHLgKKmHTs,1330
178
179
  airweave/types/sync_config.py,sha256=v3M1pq6sOh86kG1eIXky-EyrMYLzCdpcFoOFt92dnuk,1127
179
180
  airweave/types/sync_create.py,sha256=88UTDz2QyAo81_dBoI1i1B1cq6Lm-6xjzkL6hwG1hNE,1233
180
181
  airweave/types/sync_details.py,sha256=yLxEMDkV8MKOxpsmdpj43WQnYnFigaDQpHlIKLzikwg,785
181
- airweave/types/sync_job.py,sha256=NCqb09D_hNF8X3uGTN1c9sPdfQm1B30cNThJX3Tx0BQ,1758
182
+ airweave/types/sync_job.py,sha256=vOH9oL1MSOJFRKZc4ktsa_Lyqz_n8mZSWCoPZwwoafo,1847
182
183
  airweave/types/sync_job_details.py,sha256=Czjl-B2nJrxuHe3zK7lxkjgK4hdHZy_HGAaeGbnrAPY,1046
183
184
  airweave/types/sync_job_status.py,sha256=QzkQGbHJkbl1Ut6Uxw53nj1qh5ME7KdzW2w_VytFJuk,226
184
185
  airweave/types/sync_status.py,sha256=hnp7Otcg1fK3_Rqwukg17PVwFi9tQjypaH5bV48UKwk,165
@@ -198,6 +199,6 @@ airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdt
198
199
  airweave/types/value.py,sha256=S3a570nh8Mw1lWvnsuMb_er16fHbq29xPueGQ9uiXek,117
199
200
  airweave/types/values_count.py,sha256=49rET8mgdAT7bgzdeDG58OTCkQjBfHD3QROOPq5nunQ,1042
200
201
  airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
201
- airweave_sdk-0.8.38.dist-info/METADATA,sha256=jt9pNaHmI_9mILYMBpgVOe-u6gy6fdhraa91z6l9txE,5916
202
- airweave_sdk-0.8.38.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
203
- airweave_sdk-0.8.38.dist-info/RECORD,,
202
+ airweave_sdk-0.8.48.dist-info/METADATA,sha256=HL6o95mZjwkUZWupyGcU20RGWsSrs5O3JZY9MhXiRX0,5916
203
+ airweave_sdk-0.8.48.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
204
+ airweave_sdk-0.8.48.dist-info/RECORD,,