airweave-sdk 0.8.65__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.
Files changed (48) hide show
  1. airweave/__init__.py +41 -43
  2. airweave/client.py +0 -16
  3. airweave/collections/__init__.py +3 -6
  4. airweave/collections/client.py +273 -113
  5. airweave/collections/raw_client.py +633 -94
  6. airweave/collections/types/__init__.py +2 -4
  7. airweave/core/client_wrapper.py +4 -30
  8. airweave/errors/__init__.py +10 -2
  9. airweave/errors/conflict_error.py +11 -0
  10. airweave/errors/not_found_error.py +11 -0
  11. airweave/errors/too_many_requests_error.py +11 -0
  12. airweave/errors/unprocessable_entity_error.py +1 -2
  13. airweave/events/client.py +281 -500
  14. airweave/events/raw_client.py +562 -551
  15. airweave/source_connections/client.py +210 -162
  16. airweave/source_connections/raw_client.py +574 -137
  17. airweave/sources/client.py +42 -18
  18. airweave/sources/raw_client.py +118 -17
  19. airweave/types/__init__.py +33 -39
  20. airweave/types/{endpoint_secret_out.py → conflict_error_response.py} +12 -2
  21. airweave/types/delivery_attempt.py +61 -0
  22. airweave/types/event_message.py +55 -0
  23. airweave/types/event_message_with_attempts.py +59 -0
  24. airweave/types/{enable_endpoint_request.py → not_found_error_response.py} +6 -4
  25. airweave/types/{subscription_with_attempts_out.py → rate_limit_error_response.py} +9 -6
  26. airweave/types/recovery_task.py +35 -0
  27. airweave/types/search_request.py +13 -10
  28. airweave/types/search_response.py +6 -3
  29. airweave/types/source_connection.py +73 -18
  30. airweave/types/source_connection_job.py +65 -15
  31. airweave/types/source_connection_list_item.py +45 -10
  32. airweave/types/sync_event_payload.py +72 -0
  33. airweave/types/{recover_out.py → validation_error_detail.py} +19 -6
  34. airweave/types/validation_error_response.py +30 -0
  35. airweave/types/webhook_subscription.py +68 -0
  36. {airweave_sdk-0.8.65.dist-info → airweave_sdk-0.8.66.dist-info}/METADATA +1 -5
  37. {airweave_sdk-0.8.65.dist-info → airweave_sdk-0.8.66.dist-info}/RECORD +38 -38
  38. airweave/collections/types/search_collections_readable_id_search_post_response.py +0 -8
  39. airweave/types/background_task_status.py +0 -5
  40. airweave/types/background_task_type.py +0 -17
  41. airweave/types/collection_update.py +0 -35
  42. airweave/types/endpoint_out.py +0 -35
  43. airweave/types/message_attempt_out.py +0 -37
  44. airweave/types/message_attempt_trigger_type.py +0 -3
  45. airweave/types/message_out.py +0 -29
  46. airweave/types/message_status.py +0 -3
  47. airweave/types/message_status_text.py +0 -5
  48. {airweave_sdk-0.8.65.dist-info → airweave_sdk-0.8.66.dist-info}/WHEEL +0 -0
@@ -0,0 +1,72 @@
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 .event_type import EventType
9
+ from .sync_job_status import SyncJobStatus
10
+
11
+
12
+ class SyncEventPayload(UniversalBaseModel):
13
+ """
14
+ Payload for sync-related webhook events.
15
+
16
+ This schema defines the data sent to webhook subscribers when sync events occur
17
+ (e.g., sync.pending, sync.running, sync.completed, sync.failed, sync.cancelled).
18
+ """
19
+
20
+ event_type: EventType = pydantic.Field()
21
+ """
22
+ The type of sync event
23
+ """
24
+
25
+ job_id: str = pydantic.Field()
26
+ """
27
+ Unique identifier for this sync job
28
+ """
29
+
30
+ collection_readable_id: str = pydantic.Field()
31
+ """
32
+ Human-readable identifier for the collection (e.g., 'finance-data-ab123')
33
+ """
34
+
35
+ collection_name: str = pydantic.Field()
36
+ """
37
+ Display name of the collection
38
+ """
39
+
40
+ source_connection_id: typing.Optional[str] = pydantic.Field(default=None)
41
+ """
42
+ Unique identifier for the source connection
43
+ """
44
+
45
+ source_type: str = pydantic.Field()
46
+ """
47
+ Short name of the source type (e.g., 'hubspot', 'notion', 'salesforce')
48
+ """
49
+
50
+ status: SyncJobStatus = pydantic.Field()
51
+ """
52
+ Current status of the sync job
53
+ """
54
+
55
+ timestamp: dt.datetime = pydantic.Field()
56
+ """
57
+ When this event occurred (ISO 8601 format, UTC)
58
+ """
59
+
60
+ error: typing.Optional[str] = pydantic.Field(default=None)
61
+ """
62
+ Error message if the sync failed (only present for failed events)
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
@@ -4,14 +4,27 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .background_task_status import BackgroundTaskStatus
8
- from .background_task_type import BackgroundTaskType
9
7
 
10
8
 
11
- class RecoverOut(UniversalBaseModel):
12
- id: str
13
- status: BackgroundTaskStatus
14
- task: BackgroundTaskType
9
+ class ValidationErrorDetail(UniversalBaseModel):
10
+ """
11
+ Details about a validation error for a specific field.
12
+ """
13
+
14
+ loc: typing.List[str] = pydantic.Field()
15
+ """
16
+ Location of the error (e.g., ['body', 'url'])
17
+ """
18
+
19
+ msg: str = pydantic.Field()
20
+ """
21
+ Human-readable error message
22
+ """
23
+
24
+ type: str = pydantic.Field()
25
+ """
26
+ Error type identifier
27
+ """
15
28
 
16
29
  if IS_PYDANTIC_V2:
17
30
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -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.65
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=0XPs1oXdeMCYtR2LCb0DKLT2D4aDYIbychELVExjSMo,13611
2
- airweave/client.py,sha256=diKTHHF-POYEcdqe-h_tdUxYmfcmiN6vWo1xT3R9FIg,9528
3
- airweave/collections/__init__.py,sha256=nWWI5Y-IP1ZInn_QUQWh6HLqKhnunP4iFPsvzEb3CQY,1318
4
- airweave/collections/client.py,sha256=JPjt1jLWKDxIu4cU1Q5xoH3JAlyf6QR4ohJV4TrPBLw,24396
5
- airweave/collections/raw_client.py,sha256=E4VC4O7q_e5jiBVXfbXwTkDHtaB-SB26y9-tj5VwHZQ,37328
6
- airweave/collections/types/__init__.py,sha256=SJgWfEXjLF3rx_eVvO6klvxJbnVtW3yhm_JY_knbwf8,1522
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=Fc93HS5oVUdHd1wu8vftrDYK7O5V8spistvfWtoA9Ms,3330
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,21 +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=4g1JPPnrPS-pG-WGU1S8HrYE5RoctStcA35abyL_tmI,1134
25
- airweave/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
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
26
28
  airweave/events/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
27
- airweave/events/client.py,sha256=9YDFxQL_EfZLoF_g6knjE7XKrRjofIjlCQVD7TNy6n4,32348
28
- airweave/events/raw_client.py,sha256=YvaJkMu6Sj2obnCg2a89JtjFVFws7d3FrhRrW3rtceA,52870
29
+ airweave/events/client.py,sha256=D_yBBgMkI9DHtyY34HuyMgb-iMxYR4jbasxj1wxEEoM,31466
30
+ airweave/events/raw_client.py,sha256=bQPgDvuSB3adlVYgulv9yWPSkc2w4YX6oQmW3d30WO4,59802
29
31
  airweave/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
32
  airweave/source_connections/__init__.py,sha256=ekLxu22MBTpo9AysUD0-Zud45QWwTnV2KhFaNK8LgLY,1062
31
- airweave/source_connections/client.py,sha256=nw9YQLh9W-7Ea2t_Pp8dggc95QiUFBxZaiwnkkbkytA,29110
32
- airweave/source_connections/raw_client.py,sha256=5T63W3CDzpijT6OtQBafkkHLVzaII3r8lt0JEr3j1XU,44421
33
+ airweave/source_connections/client.py,sha256=I9jKUzVGpNP8RTu6Q09zOGwyZiZsPbnAFc9sQZnXJNE,32600
34
+ airweave/source_connections/raw_client.py,sha256=xD0x-dtzdNQKwr-UqFMiVWi6CAcLW1O5C2fHB5kt6wM,64540
33
35
  airweave/source_connections/types/__init__.py,sha256=F8qcRYCSuWAOQvKdO_MARrZHxQwfPuk1b2d_jp8xXc0,1080
34
36
  airweave/source_connections/types/authentication.py,sha256=c70Mz6X3_NQJFGPaRiw5T_PnRIscMwn9Xbw8f-QT0nc,514
35
37
  airweave/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
36
- airweave/sources/client.py,sha256=V3FmaNPxTCvKXeKWRZuzXwpTcHkZW9hPrhha8a679ms,5219
37
- airweave/sources/raw_client.py,sha256=GbuYIs5WSOJTHZeBURZAoGp4pwbYQ_lDXKNK94x3D94,8549
38
- airweave/types/__init__.py,sha256=jJtgjH1AQl-0teef1FmdCC1xcbTwP-YEHszPiNHYmWQ,17791
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
39
41
  airweave/types/action_check_request.py,sha256=PVj-QexQEXQhsI5-JJHSuBWTv1qXbZwcKHD7M0LwPU8,702
40
42
  airweave/types/action_check_response.py,sha256=szjd_tz-7Bxq1-XJ7XKV7LaPcefdGMKt7hwBH78Ue0U,704
41
43
  airweave/types/admin_search_destination.py,sha256=IYkP8QvhuEjeI3FS__0bOQxNLTpDtPBpTgVaIfdNIJs,165
@@ -49,8 +51,6 @@ airweave/types/auth_provider_connection_create.py,sha256=1atsAaWRmw39arflE63QNbl
49
51
  airweave/types/auth_provider_connection_update.py,sha256=EjIn8Z-MFleKPiCB_s1B_OJ59nPG0N83PsDp6D2ESXY,1196
50
52
  airweave/types/authentication_details.py,sha256=zWVzOYPX3AmXopFvfT2jtDuounzHdGSBbCUPB9AHDW4,1122
51
53
  airweave/types/authentication_method.py,sha256=DZVbeBIym5W0cjXnWDYGaXAh8mgrJ7jT3umwCyg9AKY,223
52
- airweave/types/background_task_status.py,sha256=5h9gfT6cqytfPWxJlvDyApXmlNn54D4lzvRFXFoomYA,177
53
- airweave/types/background_task_type.py,sha256=nGecO4sZsQleI0i4wQmhhhTre_V5bax1gLJ0tOWH-Bs,398
54
54
  airweave/types/behavior_config.py,sha256=0tQKohudDGDco_ZiWIVM9UNt_hNuYOapBaAFv2pnros,981
55
55
  airweave/types/billing_period.py,sha256=TQ2BLpUvJaF3gtzeocUpZ4MdaUvRmIZMkTwCn47Qrk4,1657
56
56
  airweave/types/billing_period_status.py,sha256=GiUVfbrwIsyzrV2Ltox0AuSLn73jGO2ITCzIGcOYKsg,200
@@ -64,23 +64,21 @@ airweave/types/checkout_session_request.py,sha256=YNE_3CeNVj-BJCsbvoRBJOpS9fEYJa
64
64
  airweave/types/checkout_session_response.py,sha256=FHvMzPRo8xLlRmLjJ2Wqse3pRHm73Q-kQoQTalQLQ7Q,654
65
65
  airweave/types/collection.py,sha256=FUrJ6O-fizNRIVgLyyVag_EB2n3UTNMfk9fCzTXiu1E,3131
66
66
  airweave/types/collection_status.py,sha256=V3P_DRsEmXmLlD9JuEMmSIzaIpOX5FIh0-oIfwLVcDo,175
67
- airweave/types/collection_update.py,sha256=H0TrG3m18BNOSlzLci0Ljq77gqfOpAjq4xEBZ3cwnm0,1178
68
67
  airweave/types/config_field.py,sha256=3UDStrO4GzOxn8drfxX6Vad-SVQxKAGMbKp22HXdrDs,810
69
68
  airweave/types/config_values.py,sha256=rSjf0H5PBtes3op5nrD6ZNN3UOgKNyrloxZle8epMlE,141
69
+ airweave/types/conflict_error_response.py,sha256=2V7lUakHYM6nXDFTBXlF1Vnr4OZcjFHUXUpTNwQPPFY,860
70
70
  airweave/types/connection.py,sha256=0gNBI0d3nCyWq-SgB9W8uVXUk5faCGqtIQ1JwY-apD8,1656
71
71
  airweave/types/connection_status.py,sha256=c2iNNz2kkFML2dZF8m-6JCbnTWmX_v3qEogKY8Wx5h8,171
72
72
  airweave/types/cursor_config.py,sha256=ryPszOHJ2m286zp3XJsdbrv_OCIAwfN7uxDHQexxjSs,818
73
73
  airweave/types/customer_portal_request.py,sha256=eCuxMduZFTNJvQv7dC2v63L0w7JszZhwFXoTaFhlxe4,675
74
74
  airweave/types/customer_portal_response.py,sha256=R92DoboL3uJWVWakjmRzL3culVqPzOfv1o2S7LjerXY,657
75
+ airweave/types/delivery_attempt.py,sha256=GgYmJrJW83Gspqwr4HgZ9-GeCgRRLsBTcA6o9-Z4KTc,1723
75
76
  airweave/types/destination.py,sha256=7NgpzkhorSdLwWh_2J3HSRoLEsCDGGSsSbn3neTsfig,1055
76
77
  airweave/types/destination_config.py,sha256=Zkdo3Ddy8rwqeHGLpY2OwOLY89j_9XROyPP7vflMv6Y,1105
77
78
  airweave/types/destination_with_authentication_fields.py,sha256=ghp4Kw3Hoj5GW_r4nGBSf67FNjv0n4zCJwB_q-NQgEQ,1171
78
79
  airweave/types/direct_authentication.py,sha256=NzmNgmF5D0wJVJu1J2IqNvJI0QcDokYY5gXHOZQNfG0,713
79
80
  airweave/types/embedding_model.py,sha256=qCrbSMQDJIBjFhY0RUSGVW26EOxfFqWyr0GmY7e5zUQ,885
80
81
  airweave/types/embedding_model_with_authentication_fields.py,sha256=Nz6EKToA9fnml6o-RyZwjRSi1EEg8KE37LhcRfCxofw,1001
81
- airweave/types/enable_endpoint_request.py,sha256=f4q3bEvqHgsoNEXMs08i5Lc3qMt4uFO8g8sUqcGOFz4,675
82
- airweave/types/endpoint_out.py,sha256=1AzG6ONGMU_m24iGYWcf-TGXxapsVhUlLAK5nullCWo,1261
83
- airweave/types/endpoint_secret_out.py,sha256=Ijaal1kd7lgn2d7cIKYm6-CkFGWEFHzR5ZmaWM25gzs,523
84
82
  airweave/types/entity_count.py,sha256=xwopcShPHADyJoSgAs9Iiv76OKPlkStfbv1hLQv7cSU,565
85
83
  airweave/types/entity_count_with_definition.py,sha256=dHDPlvKBY12bcFQHESdZUZmex62bXaTbezalJP_Eu2A,807
86
84
  airweave/types/entity_definition.py,sha256=aH0TSd093sziub_0YSTk9SWN1leEI0W_Pw5dbJ39PR8,946
@@ -90,6 +88,8 @@ airweave/types/entity_definition_entity_schema.py,sha256=j_X0vcnOtQ0qUQfN6tb5jvq
90
88
  airweave/types/entity_summary.py,sha256=wCXrgiaHvgmVmpNBPKvNwJjtOjt0_IqZ8SnF47wsOQ8,715
91
89
  airweave/types/entity_type.py,sha256=qQ_xUxfRlenAqMSk2FzW7xy7Auaria2NbI2YS6hsba0,150
92
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
93
93
  airweave/types/event_type.py,sha256=e0ZZS0njvscHVeNFRnlEjAVfQGdE9KLVB8DdVrU1TTA,222
94
94
  airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
95
95
  airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
@@ -104,13 +104,9 @@ airweave/types/legacy_search_request.py,sha256=qnN8EgPxp7nZXC6zP0XJyZDJeW5gy4P_x
104
104
  airweave/types/legacy_search_request_search_method.py,sha256=mkHFbtmxHTEO12LASFlYlc1PY7C38OUjDY3BWkAvQvY,186
105
105
  airweave/types/legacy_search_response.py,sha256=jD7HXMgYMvr3bFyh1M-nPbRYpwT8-lCL6HUjZSziczs,1221
106
106
  airweave/types/member_response.py,sha256=izpTTj4_-05ZIGxIls-TMiHRPhqDMGNiOWx534wl8xU,887
107
- airweave/types/message_attempt_out.py,sha256=Tgn_C1MdCR9R1je0iK0x_fpRxR9OaDqm_EHCqbzruAE,1513
108
- airweave/types/message_attempt_trigger_type.py,sha256=fyXVLGzOhwGIkOpHhF8T9z2A7WyKdrzKMVyAAr-QunA,97
109
- airweave/types/message_out.py,sha256=2PlRUJRsM-1aGrlLnunxNMNywdz4owgO2OzzpEHfbYM,1102
110
107
  airweave/types/message_response.py,sha256=w4ft_-b6gEiTrt7S5S2f-ZmMFkKnU-olLZ_zykAxl6Y,628
111
- airweave/types/message_status.py,sha256=84D1r9Cig5w4zNIQkbG-n4ycj-Qd6jikparOsXh9Tuw,85
112
- airweave/types/message_status_text.py,sha256=bJpE1Ekt4jNEF5qiQEGG2OCfaMSNpZCZkfDv6OS-yA0,182
113
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
114
110
  airweave/types/o_auth_browser_authentication.py,sha256=KxK4On1sFKxcBDFRq3IZDoArAH6aughfIb6xcoW4sbE,1384
115
111
  airweave/types/o_auth_token_authentication.py,sha256=vI02Lxnb3i-iBCIl6U8qajjBwbR_bE0f_rhgrP2Yq7M,913
116
112
  airweave/types/o_auth_type.py,sha256=wz1MYrg-SGfc01yPB3PR_y-vAPFfwfD9KtEMdOC-mBY,199
@@ -120,7 +116,8 @@ airweave/types/organization_create.py,sha256=TNcDcO4jG2BfitOfe1F5HompDtENkJZJQQ5
120
116
  airweave/types/organization_metrics.py,sha256=13At_esiZuFGRBXEpQzCiq9UIiXlMFpMZYkb-32FkgU,3133
121
117
  airweave/types/organization_with_role.py,sha256=7fTg1pX9yjdJRLXKAGEPJS4UMYH7ujNYPvjW5V_Vtnw,1457
122
118
  airweave/types/query_expansion_strategy.py,sha256=rjOLMMBNPcTS7TuiWhNkmojscRM4UMSAu8uaiTcvOj0,177
123
- airweave/types/recover_out.py,sha256=cuhzVbqPemtz88qUssytlx440AGq07r--jyCyZrfLrQ,687
119
+ airweave/types/rate_limit_error_response.py,sha256=TwSbTWckOtIhiMPNd3nd9Ikp26Z7FdO0bu6U9b7jTno,839
120
+ airweave/types/recovery_task.py,sha256=Ly303ZIw8yO6vX2Igx1k1v7avtJOGgACoxkIiO-_vTs,981
124
121
  airweave/types/response_type.py,sha256=ltOcRHQpUU_kZnf2Ef7n8F9SY-se7tNMH_1rD1CUD1o,157
125
122
  airweave/types/retrieval_strategy.py,sha256=PNFYREPrEHawtFFdPN-XMYE6LV2YrMRcBuDgAhMbrwk,172
126
123
  airweave/types/s_3_config_request.py,sha256=EiZOSxwWqUiLBgTu0bFDx3-lwyYPSKrWbVC4z2Rdym4,1119
@@ -128,25 +125,25 @@ airweave/types/s_3_config_response.py,sha256=D2O4F448FX3WYyBduWW98Ea31MaXw35qDD1
128
125
  airweave/types/schedule_config.py,sha256=p2_ZXZRXZ9MrzzEdcdXFjzfRIvNUrxHTytCCznat7L4,916
129
126
  airweave/types/schedule_details.py,sha256=okjUj8Pb56zkA8us0nqseIlqqUgDbUwD0ai2ylMifq4,822
130
127
  airweave/types/schedule_response.py,sha256=Xu-oisULnXZh4AHxtzqx4aU13Fi5AsnPtmUAgNRci4w,618
131
- airweave/types/search_request.py,sha256=vEeNGyfnwcPo-q0hmLb-Su-Lo8kEPbWeln2l-1ljCkA,2134
132
- airweave/types/search_response.py,sha256=20jAn-6W8elhzGrZOA004ZbjEhmhfbwBVOP0AMcCAKw,1026
128
+ airweave/types/search_request.py,sha256=GELLm2xaNUiUfR4zxR5C-Tn72u-C2Mg6FuPOVrxwMpE,2487
129
+ airweave/types/search_response.py,sha256=WCs--ACbaVPNKcQbYC68NMB2MKVrLBxMFHrHm4JmtN4,1237
133
130
  airweave/types/search_status.py,sha256=lN617p0-E_fOyCINkfgC4l2YW0qbSLArhaj0Vd4xCWw,184
134
131
  airweave/types/single_action_check_response.py,sha256=rw_eopy9_fNMAE_cPhFbC9UFDbr7HT4hfmWyRz95VcQ,1218
135
132
  airweave/types/single_action_check_response_reason.py,sha256=CLAD_TQpSLmVgqpI3f9l-7CaWwqM7FfjgzEpMPYthKs,199
136
133
  airweave/types/source.py,sha256=UyG-pCd2qA-jeMI2r09PLC4AMryYXHO-ZC0nkmxZv1Y,5473
137
- airweave/types/source_connection.py,sha256=dmFKbPnZ1T0umtya9zCM50CTs9EwYhg3EAFLzZoiiU8,1563
138
- airweave/types/source_connection_job.py,sha256=Z-mrbao00pXeGviKfxSRhgilbe7FL8Dl20eTHYZawiM,1197
139
- airweave/types/source_connection_list_item.py,sha256=tr1E7vbZq5pJsiJgj1QVFaU7MQVaGYDnBCgBX7SHVBY,1308
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
140
137
  airweave/types/source_connection_status.py,sha256=mVD0MxAqjKw-V1gggtphk5ib0Ilh0gSV0xuF-IKWkkQ,226
141
138
  airweave/types/source_rate_limit.py,sha256=NLE9k8DVkeG27HDH2dkf-D6dnXBtR9xgJjwY1WblPt4,1042
142
139
  airweave/types/source_rate_limit_response.py,sha256=BXRtn9e50w1B6rgOsmQpdOzxtBec-O5m6jCJN-YdrWg,1158
143
140
  airweave/types/source_rate_limit_update_request.py,sha256=YWNmnPQlFo9o5_CVTEqGpD_dLXW5zSgN2FhmHzKwdp4,768
144
141
  airweave/types/subscription_info.py,sha256=FivtqMzcgOl-IoRrHnA4KWmIpKt12lO6C9CJnFtfySY,3450
145
- airweave/types/subscription_with_attempts_out.py,sha256=ImBPsJKGJn5LYvDOpfSKuxwtAgXu58DJ_Lfaq6RAnMU,770
146
142
  airweave/types/sync.py,sha256=VxDP559q20CTpPjfSIS9Q6si6CJUTmqrwQHLgKKmHTs,1330
147
143
  airweave/types/sync_config.py,sha256=v3M1pq6sOh86kG1eIXky-EyrMYLzCdpcFoOFt92dnuk,1127
148
144
  airweave/types/sync_create.py,sha256=88UTDz2QyAo81_dBoI1i1B1cq6Lm-6xjzkL6hwG1hNE,1233
149
145
  airweave/types/sync_details.py,sha256=yLxEMDkV8MKOxpsmdpj43WQnYnFigaDQpHlIKLzikwg,785
146
+ airweave/types/sync_event_payload.py,sha256=xUPDiRehD5YZo16e9_4hYiWsmanjq_ia74bHmr8YDEE,1900
150
147
  airweave/types/sync_job.py,sha256=vOH9oL1MSOJFRKZc4ktsa_Lyqz_n8mZSWCoPZwwoafo,1847
151
148
  airweave/types/sync_job_details.py,sha256=Czjl-B2nJrxuHe3zK7lxkjgK4hdHZy_HGAaeGbnrAPY,1046
152
149
  airweave/types/sync_job_status.py,sha256=QzkQGbHJkbl1Ut6Uxw53nj1qh5ME7KdzW2w_VytFJuk,226
@@ -163,8 +160,11 @@ airweave/types/user.py,sha256=F_3ab0OXSxXyULyBifDGfyIT79776G32pUjE4RGjQc8,1133
163
160
  airweave/types/user_create.py,sha256=KyiPacIuuVh_SHdfgr_UNLLmfqttppheNd5W35R9XmI,794
164
161
  airweave/types/user_organization.py,sha256=l49aIb81u810lx3wrsfEwNEYuvvLDJhrbwgJZ5tV-hY,798
165
162
  airweave/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
163
+ airweave/types/validation_error_detail.py,sha256=0K1vYhlydxl69L84ay5Ab_3vzIKlVdrRPqUxWQI0u5I,859
166
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
167
167
  airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
168
- airweave_sdk-0.8.65.dist-info/METADATA,sha256=ef0mxMMBWGd3VQt6qo_WYuDot3gvzP0459lLvYJnE5Q,5916
169
- airweave_sdk-0.8.65.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
170
- airweave_sdk-0.8.65.dist-info/RECORD,,
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,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- BackgroundTaskStatus = typing.Union[typing.Literal["running", "finished", "failed"], typing.Any]
@@ -1,17 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- BackgroundTaskType = typing.Union[
6
- typing.Literal[
7
- "endpoint.replay",
8
- "endpoint.recover",
9
- "application.stats",
10
- "message.broadcast",
11
- "sdk.generate",
12
- "event-type.aggregate",
13
- "application.purge_content",
14
- "endpoint.bulk_replay",
15
- ],
16
- typing.Any,
17
- ]
@@ -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
@@ -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
@@ -1,3 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- MessageAttemptTriggerType = int
@@ -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
@@ -1,3 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- MessageStatus = int
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- MessageStatusText = typing.Union[typing.Literal["success", "pending", "fail", "sending"], typing.Any]