airweave-sdk 0.8.64__py3-none-any.whl → 0.8.66__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 +44 -38
- airweave/client.py +19 -16
- airweave/collections/__init__.py +3 -6
- airweave/collections/client.py +273 -113
- airweave/collections/raw_client.py +633 -94
- airweave/collections/types/__init__.py +2 -4
- airweave/core/client_wrapper.py +4 -30
- airweave/errors/__init__.py +10 -2
- airweave/errors/conflict_error.py +11 -0
- airweave/errors/not_found_error.py +11 -0
- airweave/errors/too_many_requests_error.py +11 -0
- airweave/errors/unprocessable_entity_error.py +1 -2
- airweave/{types/message_status.py → events/__init__.py} +2 -1
- airweave/events/client.py +919 -0
- airweave/events/raw_client.py +1435 -0
- airweave/source_connections/client.py +210 -162
- airweave/source_connections/raw_client.py +574 -137
- airweave/sources/client.py +42 -18
- airweave/sources/raw_client.py +118 -17
- airweave/types/__init__.py +33 -33
- airweave/types/{create_subscription_request.py → conflict_error_response.py} +9 -6
- airweave/types/delivery_attempt.py +61 -0
- airweave/types/event_message.py +55 -0
- airweave/types/event_message_with_attempts.py +59 -0
- airweave/types/{endpoint_secret_out.py → not_found_error_response.py} +9 -2
- airweave/types/{subscription_with_attempts_out.py → rate_limit_error_response.py} +9 -6
- airweave/types/recovery_task.py +35 -0
- airweave/types/search_request.py +13 -10
- airweave/types/search_response.py +6 -3
- airweave/types/source_connection.py +73 -18
- airweave/types/source_connection_job.py +65 -15
- airweave/types/source_connection_list_item.py +45 -10
- airweave/types/sync_event_payload.py +72 -0
- airweave/types/{patch_subscription_request.py → validation_error_detail.py} +16 -5
- airweave/types/validation_error_response.py +30 -0
- airweave/types/webhook_subscription.py +68 -0
- {airweave_sdk-0.8.64.dist-info → airweave_sdk-0.8.66.dist-info}/METADATA +1 -5
- {airweave_sdk-0.8.64.dist-info → airweave_sdk-0.8.66.dist-info}/RECORD +39 -34
- airweave/collections/types/search_collections_readable_id_search_post_response.py +0 -8
- airweave/types/collection_update.py +0 -35
- airweave/types/endpoint_out.py +0 -35
- airweave/types/message_attempt_out.py +0 -37
- airweave/types/message_attempt_trigger_type.py +0 -3
- airweave/types/message_out.py +0 -29
- airweave/types/message_status_text.py +0 -5
- {airweave_sdk-0.8.64.dist-info → airweave_sdk-0.8.66.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
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 .validation_error_detail import ValidationErrorDetail
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ValidationErrorResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Response returned when request validation fails (HTTP 422).
|
|
13
|
+
|
|
14
|
+
This occurs when the request body contains invalid data, such as
|
|
15
|
+
malformed URLs, invalid event types, or missing required fields.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
detail: typing.List[ValidationErrorDetail] = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
List of validation errors
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
if IS_PYDANTIC_V2:
|
|
24
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
25
|
+
else:
|
|
26
|
+
|
|
27
|
+
class Config:
|
|
28
|
+
frozen = True
|
|
29
|
+
smart_union = True
|
|
30
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from .delivery_attempt import DeliveryAttempt
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class WebhookSubscription(UniversalBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
A webhook subscription (endpoint) configuration.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
id: str = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
Unique identifier for this subscription (UUID format)
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
url: str = pydantic.Field()
|
|
22
|
+
"""
|
|
23
|
+
The URL where webhook events are delivered
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
filter_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
Event types this subscription is filtered to receive. Available types: `sync.pending`, `sync.running`, `sync.completed`, `sync.failed`, `sync.cancelled`.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
disabled: typing.Optional[bool] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
Whether this subscription is currently disabled. Disabled subscriptions do not receive event deliveries.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
37
|
+
"""
|
|
38
|
+
Optional human-readable description of this subscription
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
created_at: dt.datetime = pydantic.Field()
|
|
42
|
+
"""
|
|
43
|
+
When this subscription was created (ISO 8601 format, UTC)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
47
|
+
"""
|
|
48
|
+
When this subscription was last updated (ISO 8601 format, UTC)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
delivery_attempts: typing.Optional[typing.List[DeliveryAttempt]] = pydantic.Field(default=None)
|
|
52
|
+
"""
|
|
53
|
+
Recent delivery attempts for this subscription. Only included when fetching a single subscription via GET /subscriptions/{id}.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
secret: typing.Optional[str] = pydantic.Field(default=None)
|
|
57
|
+
"""
|
|
58
|
+
The signing secret for webhook signature verification. Only included when include_secret=true is passed to the API. Keep this secret secure.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
if IS_PYDANTIC_V2:
|
|
62
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
63
|
+
else:
|
|
64
|
+
|
|
65
|
+
class Config:
|
|
66
|
+
frozen = True
|
|
67
|
+
smart_union = True
|
|
68
|
+
extra = pydantic.Extra.allow
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: airweave-sdk
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.66
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -63,8 +63,6 @@ Instantiate and use the client with the following:
|
|
|
63
63
|
from airweave import AirweaveSDK
|
|
64
64
|
|
|
65
65
|
client = AirweaveSDK(
|
|
66
|
-
framework_name="YOUR_FRAMEWORK_NAME",
|
|
67
|
-
framework_version="YOUR_FRAMEWORK_VERSION",
|
|
68
66
|
api_key="YOUR_API_KEY",
|
|
69
67
|
)
|
|
70
68
|
client.collections.create(
|
|
@@ -83,8 +81,6 @@ import asyncio
|
|
|
83
81
|
from airweave import AsyncAirweaveSDK
|
|
84
82
|
|
|
85
83
|
client = AsyncAirweaveSDK(
|
|
86
|
-
framework_name="YOUR_FRAMEWORK_NAME",
|
|
87
|
-
framework_version="YOUR_FRAMEWORK_VERSION",
|
|
88
84
|
api_key="YOUR_API_KEY",
|
|
89
85
|
)
|
|
90
86
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
airweave/__init__.py,sha256
|
|
2
|
-
airweave/client.py,sha256=
|
|
3
|
-
airweave/collections/__init__.py,sha256=
|
|
4
|
-
airweave/collections/client.py,sha256=
|
|
5
|
-
airweave/collections/raw_client.py,sha256=
|
|
6
|
-
airweave/collections/types/__init__.py,sha256=
|
|
1
|
+
airweave/__init__.py,sha256=EJHcNorEizjP--QyaNvqT4kTyfr9QoPKr_aIUf1K-Ns,13547
|
|
2
|
+
airweave/client.py,sha256=5Yv5Yu4Et-bnA7ut_pEhm6IpGLX9SPrsHYUVwrCCw5Q,8756
|
|
3
|
+
airweave/collections/__init__.py,sha256=XJIieK2Zgm8nyZMOQsxfRkSwpXywpbjA4KF2cpjuXoA,1152
|
|
4
|
+
airweave/collections/client.py,sha256=Znuzk3ap6373oyhtt2hlOQXlCOf9AjVjOFzR1hiJKxA,30380
|
|
5
|
+
airweave/collections/raw_client.py,sha256=mny6kBeE4-ZxpEHogzIoBMRNOUsqK96SXCBBqpTSGVY,60068
|
|
6
|
+
airweave/collections/types/__init__.py,sha256=Svnw_O9gJw--ho7mwsJfP3-dkSk46ysE7MtvsxPoRi4,1248
|
|
7
7
|
airweave/collections/types/search_collections_readable_id_search_post_request.py,sha256=vzMtMnXtMokOc4K1jQ1BHmmXOfrT2ZsxHIJN38HR_e0,290
|
|
8
|
-
airweave/collections/types/search_collections_readable_id_search_post_response.py,sha256=wJD5mKSwLRyjI2xEXr-5ikHVljSMiXAWzt12JK9wsks,297
|
|
9
8
|
airweave/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
|
|
10
9
|
airweave/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
11
|
-
airweave/core/client_wrapper.py,sha256=
|
|
10
|
+
airweave/core/client_wrapper.py,sha256=FoGtIqnV-DQJKaf_uJ2boIY_HiwcIUpn7nBn_6SbZ90,2378
|
|
12
11
|
airweave/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
13
12
|
airweave/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
14
13
|
airweave/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -21,18 +20,24 @@ airweave/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd8
|
|
|
21
20
|
airweave/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
22
21
|
airweave/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
23
22
|
airweave/environment.py,sha256=I28XdHQil-FiJKutg-8TLKR3_5j-D3fZDcqXKWUAswQ,199
|
|
24
|
-
airweave/errors/__init__.py,sha256=
|
|
25
|
-
airweave/errors/
|
|
23
|
+
airweave/errors/__init__.py,sha256=Eq3ODsWREX9nRn9aoTt11fKEv-hSXWVV5UcckWN7fO4,1491
|
|
24
|
+
airweave/errors/conflict_error.py,sha256=eVX7v-g5HkWRmCCXaCcmz7BXh-iOE2nol8GWwCt9aRU,396
|
|
25
|
+
airweave/errors/not_found_error.py,sha256=Xxo8cWIOPsx3C3ZYvS4C9CF85if9gOMZuNybL7MBi4Q,397
|
|
26
|
+
airweave/errors/too_many_requests_error.py,sha256=t1H5kGYZW64abh6HqUSNda-xAoY8lsTM4UQYmjtWHaM,407
|
|
27
|
+
airweave/errors/unprocessable_entity_error.py,sha256=JqxtzIhvjkpQDqbT9Q-go1n-gyv9PsYqq0ng_ZYyBMo,347
|
|
28
|
+
airweave/events/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
29
|
+
airweave/events/client.py,sha256=D_yBBgMkI9DHtyY34HuyMgb-iMxYR4jbasxj1wxEEoM,31466
|
|
30
|
+
airweave/events/raw_client.py,sha256=bQPgDvuSB3adlVYgulv9yWPSkc2w4YX6oQmW3d30WO4,59802
|
|
26
31
|
airweave/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
32
|
airweave/source_connections/__init__.py,sha256=ekLxu22MBTpo9AysUD0-Zud45QWwTnV2KhFaNK8LgLY,1062
|
|
28
|
-
airweave/source_connections/client.py,sha256=
|
|
29
|
-
airweave/source_connections/raw_client.py,sha256=
|
|
33
|
+
airweave/source_connections/client.py,sha256=I9jKUzVGpNP8RTu6Q09zOGwyZiZsPbnAFc9sQZnXJNE,32600
|
|
34
|
+
airweave/source_connections/raw_client.py,sha256=xD0x-dtzdNQKwr-UqFMiVWi6CAcLW1O5C2fHB5kt6wM,64540
|
|
30
35
|
airweave/source_connections/types/__init__.py,sha256=F8qcRYCSuWAOQvKdO_MARrZHxQwfPuk1b2d_jp8xXc0,1080
|
|
31
36
|
airweave/source_connections/types/authentication.py,sha256=c70Mz6X3_NQJFGPaRiw5T_PnRIscMwn9Xbw8f-QT0nc,514
|
|
32
37
|
airweave/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
33
|
-
airweave/sources/client.py,sha256=
|
|
34
|
-
airweave/sources/raw_client.py,sha256=
|
|
35
|
-
airweave/types/__init__.py,sha256=
|
|
38
|
+
airweave/sources/client.py,sha256=igTb_s_6UAwnM0ze01jETzJYGE1qUmIbu7SxAxXS5n0,6657
|
|
39
|
+
airweave/sources/raw_client.py,sha256=u5GJSwPCxTjtUU7niNBNd2XqpzsTnHQlz9r6wjQ0tXY,13428
|
|
40
|
+
airweave/types/__init__.py,sha256=nTWj7uIzrrEIGK8qpBtMujBe8pAgLvMlYoB70frkxao,17627
|
|
36
41
|
airweave/types/action_check_request.py,sha256=PVj-QexQEXQhsI5-JJHSuBWTv1qXbZwcKHD7M0LwPU8,702
|
|
37
42
|
airweave/types/action_check_response.py,sha256=szjd_tz-7Bxq1-XJ7XKV7LaPcefdGMKt7hwBH78Ue0U,704
|
|
38
43
|
airweave/types/admin_search_destination.py,sha256=IYkP8QvhuEjeI3FS__0bOQxNLTpDtPBpTgVaIfdNIJs,165
|
|
@@ -59,23 +64,21 @@ airweave/types/checkout_session_request.py,sha256=YNE_3CeNVj-BJCsbvoRBJOpS9fEYJa
|
|
|
59
64
|
airweave/types/checkout_session_response.py,sha256=FHvMzPRo8xLlRmLjJ2Wqse3pRHm73Q-kQoQTalQLQ7Q,654
|
|
60
65
|
airweave/types/collection.py,sha256=FUrJ6O-fizNRIVgLyyVag_EB2n3UTNMfk9fCzTXiu1E,3131
|
|
61
66
|
airweave/types/collection_status.py,sha256=V3P_DRsEmXmLlD9JuEMmSIzaIpOX5FIh0-oIfwLVcDo,175
|
|
62
|
-
airweave/types/collection_update.py,sha256=H0TrG3m18BNOSlzLci0Ljq77gqfOpAjq4xEBZ3cwnm0,1178
|
|
63
67
|
airweave/types/config_field.py,sha256=3UDStrO4GzOxn8drfxX6Vad-SVQxKAGMbKp22HXdrDs,810
|
|
64
68
|
airweave/types/config_values.py,sha256=rSjf0H5PBtes3op5nrD6ZNN3UOgKNyrloxZle8epMlE,141
|
|
69
|
+
airweave/types/conflict_error_response.py,sha256=2V7lUakHYM6nXDFTBXlF1Vnr4OZcjFHUXUpTNwQPPFY,860
|
|
65
70
|
airweave/types/connection.py,sha256=0gNBI0d3nCyWq-SgB9W8uVXUk5faCGqtIQ1JwY-apD8,1656
|
|
66
71
|
airweave/types/connection_status.py,sha256=c2iNNz2kkFML2dZF8m-6JCbnTWmX_v3qEogKY8Wx5h8,171
|
|
67
|
-
airweave/types/create_subscription_request.py,sha256=n4mosL525PL6Z2WNvKS6FctPOLGaPlvXCaAjLFJFtMY,721
|
|
68
72
|
airweave/types/cursor_config.py,sha256=ryPszOHJ2m286zp3XJsdbrv_OCIAwfN7uxDHQexxjSs,818
|
|
69
73
|
airweave/types/customer_portal_request.py,sha256=eCuxMduZFTNJvQv7dC2v63L0w7JszZhwFXoTaFhlxe4,675
|
|
70
74
|
airweave/types/customer_portal_response.py,sha256=R92DoboL3uJWVWakjmRzL3culVqPzOfv1o2S7LjerXY,657
|
|
75
|
+
airweave/types/delivery_attempt.py,sha256=GgYmJrJW83Gspqwr4HgZ9-GeCgRRLsBTcA6o9-Z4KTc,1723
|
|
71
76
|
airweave/types/destination.py,sha256=7NgpzkhorSdLwWh_2J3HSRoLEsCDGGSsSbn3neTsfig,1055
|
|
72
77
|
airweave/types/destination_config.py,sha256=Zkdo3Ddy8rwqeHGLpY2OwOLY89j_9XROyPP7vflMv6Y,1105
|
|
73
78
|
airweave/types/destination_with_authentication_fields.py,sha256=ghp4Kw3Hoj5GW_r4nGBSf67FNjv0n4zCJwB_q-NQgEQ,1171
|
|
74
79
|
airweave/types/direct_authentication.py,sha256=NzmNgmF5D0wJVJu1J2IqNvJI0QcDokYY5gXHOZQNfG0,713
|
|
75
80
|
airweave/types/embedding_model.py,sha256=qCrbSMQDJIBjFhY0RUSGVW26EOxfFqWyr0GmY7e5zUQ,885
|
|
76
81
|
airweave/types/embedding_model_with_authentication_fields.py,sha256=Nz6EKToA9fnml6o-RyZwjRSi1EEg8KE37LhcRfCxofw,1001
|
|
77
|
-
airweave/types/endpoint_out.py,sha256=1AzG6ONGMU_m24iGYWcf-TGXxapsVhUlLAK5nullCWo,1261
|
|
78
|
-
airweave/types/endpoint_secret_out.py,sha256=Ijaal1kd7lgn2d7cIKYm6-CkFGWEFHzR5ZmaWM25gzs,523
|
|
79
82
|
airweave/types/entity_count.py,sha256=xwopcShPHADyJoSgAs9Iiv76OKPlkStfbv1hLQv7cSU,565
|
|
80
83
|
airweave/types/entity_count_with_definition.py,sha256=dHDPlvKBY12bcFQHESdZUZmex62bXaTbezalJP_Eu2A,807
|
|
81
84
|
airweave/types/entity_definition.py,sha256=aH0TSd093sziub_0YSTk9SWN1leEI0W_Pw5dbJ39PR8,946
|
|
@@ -85,6 +88,8 @@ airweave/types/entity_definition_entity_schema.py,sha256=j_X0vcnOtQ0qUQfN6tb5jvq
|
|
|
85
88
|
airweave/types/entity_summary.py,sha256=wCXrgiaHvgmVmpNBPKvNwJjtOjt0_IqZ8SnF47wsOQ8,715
|
|
86
89
|
airweave/types/entity_type.py,sha256=qQ_xUxfRlenAqMSk2FzW7xy7Auaria2NbI2YS6hsba0,150
|
|
87
90
|
airweave/types/entity_type_stats.py,sha256=jEtPf3BD5VdQO85SZ89g2bNclECJ4dQcXyvpjI8vlcA,659
|
|
91
|
+
airweave/types/event_message.py,sha256=I5dk5VploV5K-s7E7UhsJEShzg4B3m3L_Ko1tTYC7K4,1537
|
|
92
|
+
airweave/types/event_message_with_attempts.py,sha256=BZkr3pWEmtmi6J6kQzDKMxbAofsD2WrDW474-D2Bv9s,1637
|
|
88
93
|
airweave/types/event_type.py,sha256=e0ZZS0njvscHVeNFRnlEjAVfQGdE9KLVB8DdVrU1TTA,222
|
|
89
94
|
airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
|
|
90
95
|
airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
|
|
@@ -99,13 +104,9 @@ airweave/types/legacy_search_request.py,sha256=qnN8EgPxp7nZXC6zP0XJyZDJeW5gy4P_x
|
|
|
99
104
|
airweave/types/legacy_search_request_search_method.py,sha256=mkHFbtmxHTEO12LASFlYlc1PY7C38OUjDY3BWkAvQvY,186
|
|
100
105
|
airweave/types/legacy_search_response.py,sha256=jD7HXMgYMvr3bFyh1M-nPbRYpwT8-lCL6HUjZSziczs,1221
|
|
101
106
|
airweave/types/member_response.py,sha256=izpTTj4_-05ZIGxIls-TMiHRPhqDMGNiOWx534wl8xU,887
|
|
102
|
-
airweave/types/message_attempt_out.py,sha256=Tgn_C1MdCR9R1je0iK0x_fpRxR9OaDqm_EHCqbzruAE,1513
|
|
103
|
-
airweave/types/message_attempt_trigger_type.py,sha256=fyXVLGzOhwGIkOpHhF8T9z2A7WyKdrzKMVyAAr-QunA,97
|
|
104
|
-
airweave/types/message_out.py,sha256=2PlRUJRsM-1aGrlLnunxNMNywdz4owgO2OzzpEHfbYM,1102
|
|
105
107
|
airweave/types/message_response.py,sha256=w4ft_-b6gEiTrt7S5S2f-ZmMFkKnU-olLZ_zykAxl6Y,628
|
|
106
|
-
airweave/types/message_status.py,sha256=84D1r9Cig5w4zNIQkbG-n4ycj-Qd6jikparOsXh9Tuw,85
|
|
107
|
-
airweave/types/message_status_text.py,sha256=bJpE1Ekt4jNEF5qiQEGG2OCfaMSNpZCZkfDv6OS-yA0,182
|
|
108
108
|
airweave/types/minute_level_schedule_config.py,sha256=Bth3IbrRp6Vpbs_bjUX6RdZcOkHnB0R6gkVBMiCC_rE,765
|
|
109
|
+
airweave/types/not_found_error_response.py,sha256=wOms9A22SBFRk5aGYVR4omWudRzZXC0GUZ6Gnqe_oKg,693
|
|
109
110
|
airweave/types/o_auth_browser_authentication.py,sha256=KxK4On1sFKxcBDFRq3IZDoArAH6aughfIb6xcoW4sbE,1384
|
|
110
111
|
airweave/types/o_auth_token_authentication.py,sha256=vI02Lxnb3i-iBCIl6U8qajjBwbR_bE0f_rhgrP2Yq7M,913
|
|
111
112
|
airweave/types/o_auth_type.py,sha256=wz1MYrg-SGfc01yPB3PR_y-vAPFfwfD9KtEMdOC-mBY,199
|
|
@@ -114,8 +115,9 @@ airweave/types/organization_billing.py,sha256=kLw1Z9ajQD9ErTPVvhqyhLdz-uaNdvZSJ7
|
|
|
114
115
|
airweave/types/organization_create.py,sha256=TNcDcO4jG2BfitOfe1F5HompDtENkJZJQQ5mQDoFhJU,1182
|
|
115
116
|
airweave/types/organization_metrics.py,sha256=13At_esiZuFGRBXEpQzCiq9UIiXlMFpMZYkb-32FkgU,3133
|
|
116
117
|
airweave/types/organization_with_role.py,sha256=7fTg1pX9yjdJRLXKAGEPJS4UMYH7ujNYPvjW5V_Vtnw,1457
|
|
117
|
-
airweave/types/patch_subscription_request.py,sha256=QHU7_ynq3VwTuCDRaBB5V2-fXFL1zqa2zUCyMYr6zK4,734
|
|
118
118
|
airweave/types/query_expansion_strategy.py,sha256=rjOLMMBNPcTS7TuiWhNkmojscRM4UMSAu8uaiTcvOj0,177
|
|
119
|
+
airweave/types/rate_limit_error_response.py,sha256=TwSbTWckOtIhiMPNd3nd9Ikp26Z7FdO0bu6U9b7jTno,839
|
|
120
|
+
airweave/types/recovery_task.py,sha256=Ly303ZIw8yO6vX2Igx1k1v7avtJOGgACoxkIiO-_vTs,981
|
|
119
121
|
airweave/types/response_type.py,sha256=ltOcRHQpUU_kZnf2Ef7n8F9SY-se7tNMH_1rD1CUD1o,157
|
|
120
122
|
airweave/types/retrieval_strategy.py,sha256=PNFYREPrEHawtFFdPN-XMYE6LV2YrMRcBuDgAhMbrwk,172
|
|
121
123
|
airweave/types/s_3_config_request.py,sha256=EiZOSxwWqUiLBgTu0bFDx3-lwyYPSKrWbVC4z2Rdym4,1119
|
|
@@ -123,25 +125,25 @@ airweave/types/s_3_config_response.py,sha256=D2O4F448FX3WYyBduWW98Ea31MaXw35qDD1
|
|
|
123
125
|
airweave/types/schedule_config.py,sha256=p2_ZXZRXZ9MrzzEdcdXFjzfRIvNUrxHTytCCznat7L4,916
|
|
124
126
|
airweave/types/schedule_details.py,sha256=okjUj8Pb56zkA8us0nqseIlqqUgDbUwD0ai2ylMifq4,822
|
|
125
127
|
airweave/types/schedule_response.py,sha256=Xu-oisULnXZh4AHxtzqx4aU13Fi5AsnPtmUAgNRci4w,618
|
|
126
|
-
airweave/types/search_request.py,sha256=
|
|
127
|
-
airweave/types/search_response.py,sha256=
|
|
128
|
+
airweave/types/search_request.py,sha256=GELLm2xaNUiUfR4zxR5C-Tn72u-C2Mg6FuPOVrxwMpE,2487
|
|
129
|
+
airweave/types/search_response.py,sha256=WCs--ACbaVPNKcQbYC68NMB2MKVrLBxMFHrHm4JmtN4,1237
|
|
128
130
|
airweave/types/search_status.py,sha256=lN617p0-E_fOyCINkfgC4l2YW0qbSLArhaj0Vd4xCWw,184
|
|
129
131
|
airweave/types/single_action_check_response.py,sha256=rw_eopy9_fNMAE_cPhFbC9UFDbr7HT4hfmWyRz95VcQ,1218
|
|
130
132
|
airweave/types/single_action_check_response_reason.py,sha256=CLAD_TQpSLmVgqpI3f9l-7CaWwqM7FfjgzEpMPYthKs,199
|
|
131
133
|
airweave/types/source.py,sha256=UyG-pCd2qA-jeMI2r09PLC4AMryYXHO-ZC0nkmxZv1Y,5473
|
|
132
|
-
airweave/types/source_connection.py,sha256=
|
|
133
|
-
airweave/types/source_connection_job.py,sha256=
|
|
134
|
-
airweave/types/source_connection_list_item.py,sha256=
|
|
134
|
+
airweave/types/source_connection.py,sha256=wTwna7UwHDKjSs_s-PVnGUMSy5sAcHENkqhO7CTiRwA,2827
|
|
135
|
+
airweave/types/source_connection_job.py,sha256=dm251pT6ztdIlaokGRm7my67JRS4aci0ILJJbjm4Q-o,2478
|
|
136
|
+
airweave/types/source_connection_list_item.py,sha256=aSaeCxGFUF-ppznWypeQqZ8Toxy3kJBn6dBfVGLdFK0,2160
|
|
135
137
|
airweave/types/source_connection_status.py,sha256=mVD0MxAqjKw-V1gggtphk5ib0Ilh0gSV0xuF-IKWkkQ,226
|
|
136
138
|
airweave/types/source_rate_limit.py,sha256=NLE9k8DVkeG27HDH2dkf-D6dnXBtR9xgJjwY1WblPt4,1042
|
|
137
139
|
airweave/types/source_rate_limit_response.py,sha256=BXRtn9e50w1B6rgOsmQpdOzxtBec-O5m6jCJN-YdrWg,1158
|
|
138
140
|
airweave/types/source_rate_limit_update_request.py,sha256=YWNmnPQlFo9o5_CVTEqGpD_dLXW5zSgN2FhmHzKwdp4,768
|
|
139
141
|
airweave/types/subscription_info.py,sha256=FivtqMzcgOl-IoRrHnA4KWmIpKt12lO6C9CJnFtfySY,3450
|
|
140
|
-
airweave/types/subscription_with_attempts_out.py,sha256=ImBPsJKGJn5LYvDOpfSKuxwtAgXu58DJ_Lfaq6RAnMU,770
|
|
141
142
|
airweave/types/sync.py,sha256=VxDP559q20CTpPjfSIS9Q6si6CJUTmqrwQHLgKKmHTs,1330
|
|
142
143
|
airweave/types/sync_config.py,sha256=v3M1pq6sOh86kG1eIXky-EyrMYLzCdpcFoOFt92dnuk,1127
|
|
143
144
|
airweave/types/sync_create.py,sha256=88UTDz2QyAo81_dBoI1i1B1cq6Lm-6xjzkL6hwG1hNE,1233
|
|
144
145
|
airweave/types/sync_details.py,sha256=yLxEMDkV8MKOxpsmdpj43WQnYnFigaDQpHlIKLzikwg,785
|
|
146
|
+
airweave/types/sync_event_payload.py,sha256=xUPDiRehD5YZo16e9_4hYiWsmanjq_ia74bHmr8YDEE,1900
|
|
145
147
|
airweave/types/sync_job.py,sha256=vOH9oL1MSOJFRKZc4ktsa_Lyqz_n8mZSWCoPZwwoafo,1847
|
|
146
148
|
airweave/types/sync_job_details.py,sha256=Czjl-B2nJrxuHe3zK7lxkjgK4hdHZy_HGAaeGbnrAPY,1046
|
|
147
149
|
airweave/types/sync_job_status.py,sha256=QzkQGbHJkbl1Ut6Uxw53nj1qh5ME7KdzW2w_VytFJuk,226
|
|
@@ -158,8 +160,11 @@ airweave/types/user.py,sha256=F_3ab0OXSxXyULyBifDGfyIT79776G32pUjE4RGjQc8,1133
|
|
|
158
160
|
airweave/types/user_create.py,sha256=KyiPacIuuVh_SHdfgr_UNLLmfqttppheNd5W35R9XmI,794
|
|
159
161
|
airweave/types/user_organization.py,sha256=l49aIb81u810lx3wrsfEwNEYuvvLDJhrbwgJZ5tV-hY,798
|
|
160
162
|
airweave/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
163
|
+
airweave/types/validation_error_detail.py,sha256=0K1vYhlydxl69L84ay5Ab_3vzIKlVdrRPqUxWQI0u5I,859
|
|
161
164
|
airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
165
|
+
airweave/types/validation_error_response.py,sha256=8ViCsM7bFUWFhtyDww1PjWsKHbS94zuEGqz_FMcTSW0,907
|
|
166
|
+
airweave/types/webhook_subscription.py,sha256=q88ZV3rFSP1GvrLJ8HV6NyxEZT-xZwMEugNtNq_YZYo,2180
|
|
162
167
|
airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
|
|
163
|
-
airweave_sdk-0.8.
|
|
164
|
-
airweave_sdk-0.8.
|
|
165
|
-
airweave_sdk-0.8.
|
|
168
|
+
airweave_sdk-0.8.66.dist-info/METADATA,sha256=qi_nn4C7MDOGQtuPiDD-BgZq-6xXTAYYOVO_gMu7Ltc,5736
|
|
169
|
+
airweave_sdk-0.8.66.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
170
|
+
airweave_sdk-0.8.66.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ...types.legacy_search_response import LegacySearchResponse
|
|
6
|
-
from ...types.search_response import SearchResponse
|
|
7
|
-
|
|
8
|
-
SearchCollectionsReadableIdSearchPostResponse = typing.Union[SearchResponse, LegacySearchResponse]
|
|
@@ -1,35 +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 .sync_config import SyncConfig
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class CollectionUpdate(UniversalBaseModel):
|
|
11
|
-
"""
|
|
12
|
-
Schema for updating an existing collection.
|
|
13
|
-
|
|
14
|
-
Allows updating the collection's display name and default sync configuration.
|
|
15
|
-
The readable_id is immutable to maintain stable API endpoints and references.
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
19
|
-
"""
|
|
20
|
-
Updated display name for the collection. Must be between 4 and 64 characters.
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
sync_config: typing.Optional[SyncConfig] = pydantic.Field(default=None)
|
|
24
|
-
"""
|
|
25
|
-
Default sync configuration for all syncs in this collection. This provides collection-level defaults that can be overridden at sync or job level.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
if IS_PYDANTIC_V2:
|
|
29
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
30
|
-
else:
|
|
31
|
-
|
|
32
|
-
class Config:
|
|
33
|
-
frozen = True
|
|
34
|
-
smart_union = True
|
|
35
|
-
extra = pydantic.Extra.allow
|
airweave/types/endpoint_out.py
DELETED
|
@@ -1,35 +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
|
-
import pydantic
|
|
7
|
-
import typing_extensions
|
|
8
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
9
|
-
from ..core.serialization import FieldMetadata
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class EndpointOut(UniversalBaseModel):
|
|
13
|
-
channels: typing.Optional[typing.List[str]] = None
|
|
14
|
-
created_at: typing_extensions.Annotated[dt.datetime, FieldMetadata(alias="createdAt")]
|
|
15
|
-
description: str
|
|
16
|
-
disabled: typing.Optional[bool] = None
|
|
17
|
-
filter_types: typing_extensions.Annotated[typing.Optional[typing.List[str]], FieldMetadata(alias="filterTypes")] = (
|
|
18
|
-
None
|
|
19
|
-
)
|
|
20
|
-
id: str
|
|
21
|
-
metadata: typing.Dict[str, str]
|
|
22
|
-
rate_limit: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="rateLimit")] = None
|
|
23
|
-
uid: typing.Optional[str] = None
|
|
24
|
-
updated_at: typing_extensions.Annotated[dt.datetime, FieldMetadata(alias="updatedAt")]
|
|
25
|
-
url: str
|
|
26
|
-
version: int
|
|
27
|
-
|
|
28
|
-
if IS_PYDANTIC_V2:
|
|
29
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
30
|
-
else:
|
|
31
|
-
|
|
32
|
-
class Config:
|
|
33
|
-
frozen = True
|
|
34
|
-
smart_union = True
|
|
35
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,37 +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
|
-
import pydantic
|
|
7
|
-
import typing_extensions
|
|
8
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
9
|
-
from ..core.serialization import FieldMetadata
|
|
10
|
-
from .message_attempt_trigger_type import MessageAttemptTriggerType
|
|
11
|
-
from .message_out import MessageOut
|
|
12
|
-
from .message_status import MessageStatus
|
|
13
|
-
from .message_status_text import MessageStatusText
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class MessageAttemptOut(UniversalBaseModel):
|
|
17
|
-
endpoint_id: typing_extensions.Annotated[str, FieldMetadata(alias="endpointId")]
|
|
18
|
-
id: str
|
|
19
|
-
msg: typing.Optional[MessageOut] = None
|
|
20
|
-
msg_id: typing_extensions.Annotated[str, FieldMetadata(alias="msgId")]
|
|
21
|
-
response: str
|
|
22
|
-
response_duration_ms: typing_extensions.Annotated[int, FieldMetadata(alias="responseDurationMs")]
|
|
23
|
-
response_status_code: typing_extensions.Annotated[int, FieldMetadata(alias="responseStatusCode")]
|
|
24
|
-
status: MessageStatus
|
|
25
|
-
status_text: typing_extensions.Annotated[MessageStatusText, FieldMetadata(alias="statusText")]
|
|
26
|
-
timestamp: dt.datetime
|
|
27
|
-
trigger_type: typing_extensions.Annotated[MessageAttemptTriggerType, FieldMetadata(alias="triggerType")]
|
|
28
|
-
url: str
|
|
29
|
-
|
|
30
|
-
if IS_PYDANTIC_V2:
|
|
31
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
32
|
-
else:
|
|
33
|
-
|
|
34
|
-
class Config:
|
|
35
|
-
frozen = True
|
|
36
|
-
smart_union = True
|
|
37
|
-
extra = pydantic.Extra.allow
|
airweave/types/message_out.py
DELETED
|
@@ -1,29 +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
|
-
import pydantic
|
|
7
|
-
import typing_extensions
|
|
8
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
9
|
-
from ..core.serialization import FieldMetadata
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class MessageOut(UniversalBaseModel):
|
|
13
|
-
channels: typing.Optional[typing.List[str]] = None
|
|
14
|
-
deliver_at: typing_extensions.Annotated[typing.Optional[dt.datetime], FieldMetadata(alias="deliverAt")] = None
|
|
15
|
-
event_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="eventId")] = None
|
|
16
|
-
event_type: typing_extensions.Annotated[str, FieldMetadata(alias="eventType")]
|
|
17
|
-
id: str
|
|
18
|
-
payload: typing.Dict[str, typing.Optional[typing.Any]]
|
|
19
|
-
tags: typing.Optional[typing.List[str]] = None
|
|
20
|
-
timestamp: dt.datetime
|
|
21
|
-
|
|
22
|
-
if IS_PYDANTIC_V2:
|
|
23
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
24
|
-
else:
|
|
25
|
-
|
|
26
|
-
class Config:
|
|
27
|
-
frozen = True
|
|
28
|
-
smart_union = True
|
|
29
|
-
extra = pydantic.Extra.allow
|
|
File without changes
|