airweave-sdk 0.8.63__py3-none-any.whl → 0.8.65__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.
@@ -19,6 +19,8 @@ if typing.TYPE_CHECKING:
19
19
  from .auth_provider_connection_update import AuthProviderConnectionUpdate
20
20
  from .authentication_details import AuthenticationDetails
21
21
  from .authentication_method import AuthenticationMethod
22
+ from .background_task_status import BackgroundTaskStatus
23
+ from .background_task_type import BackgroundTaskType
22
24
  from .behavior_config import BehaviorConfig
23
25
  from .billing_period import BillingPeriod
24
26
  from .billing_period_status import BillingPeriodStatus
@@ -41,7 +43,6 @@ if typing.TYPE_CHECKING:
41
43
  from .config_values import ConfigValues
42
44
  from .connection import Connection
43
45
  from .connection_status import ConnectionStatus
44
- from .create_subscription_request import CreateSubscriptionRequest
45
46
  from .cursor_config import CursorConfig
46
47
  from .customer_portal_request import CustomerPortalRequest
47
48
  from .customer_portal_response import CustomerPortalResponse
@@ -51,6 +52,7 @@ if typing.TYPE_CHECKING:
51
52
  from .direct_authentication import DirectAuthentication
52
53
  from .embedding_model import EmbeddingModel
53
54
  from .embedding_model_with_authentication_fields import EmbeddingModelWithAuthenticationFields
55
+ from .enable_endpoint_request import EnableEndpointRequest
54
56
  from .endpoint_out import EndpointOut
55
57
  from .endpoint_secret_out import EndpointSecretOut
56
58
  from .entity_count import EntityCount
@@ -91,8 +93,8 @@ if typing.TYPE_CHECKING:
91
93
  from .organization_create import OrganizationCreate
92
94
  from .organization_metrics import OrganizationMetrics
93
95
  from .organization_with_role import OrganizationWithRole
94
- from .patch_subscription_request import PatchSubscriptionRequest
95
96
  from .query_expansion_strategy import QueryExpansionStrategy
97
+ from .recover_out import RecoverOut
96
98
  from .response_type import ResponseType
97
99
  from .retrieval_strategy import RetrievalStrategy
98
100
  from .s_3_config_request import S3ConfigRequest
@@ -150,6 +152,8 @@ _dynamic_imports: typing.Dict[str, str] = {
150
152
  "AuthProviderConnectionUpdate": ".auth_provider_connection_update",
151
153
  "AuthenticationDetails": ".authentication_details",
152
154
  "AuthenticationMethod": ".authentication_method",
155
+ "BackgroundTaskStatus": ".background_task_status",
156
+ "BackgroundTaskType": ".background_task_type",
153
157
  "BehaviorConfig": ".behavior_config",
154
158
  "BillingPeriod": ".billing_period",
155
159
  "BillingPeriodStatus": ".billing_period_status",
@@ -168,7 +172,6 @@ _dynamic_imports: typing.Dict[str, str] = {
168
172
  "ConfigValues": ".config_values",
169
173
  "Connection": ".connection",
170
174
  "ConnectionStatus": ".connection_status",
171
- "CreateSubscriptionRequest": ".create_subscription_request",
172
175
  "CursorConfig": ".cursor_config",
173
176
  "CustomerPortalRequest": ".customer_portal_request",
174
177
  "CustomerPortalResponse": ".customer_portal_response",
@@ -178,6 +181,7 @@ _dynamic_imports: typing.Dict[str, str] = {
178
181
  "DirectAuthentication": ".direct_authentication",
179
182
  "EmbeddingModel": ".embedding_model",
180
183
  "EmbeddingModelWithAuthenticationFields": ".embedding_model_with_authentication_fields",
184
+ "EnableEndpointRequest": ".enable_endpoint_request",
181
185
  "EndpointOut": ".endpoint_out",
182
186
  "EndpointSecretOut": ".endpoint_secret_out",
183
187
  "EntityCount": ".entity_count",
@@ -218,8 +222,8 @@ _dynamic_imports: typing.Dict[str, str] = {
218
222
  "OrganizationCreate": ".organization_create",
219
223
  "OrganizationMetrics": ".organization_metrics",
220
224
  "OrganizationWithRole": ".organization_with_role",
221
- "PatchSubscriptionRequest": ".patch_subscription_request",
222
225
  "QueryExpansionStrategy": ".query_expansion_strategy",
226
+ "RecoverOut": ".recover_out",
223
227
  "ResponseType": ".response_type",
224
228
  "RetrievalStrategy": ".retrieval_strategy",
225
229
  "S3ConfigRequest": ".s_3_config_request",
@@ -301,6 +305,8 @@ __all__ = [
301
305
  "AuthProviderConnectionUpdate",
302
306
  "AuthenticationDetails",
303
307
  "AuthenticationMethod",
308
+ "BackgroundTaskStatus",
309
+ "BackgroundTaskType",
304
310
  "BehaviorConfig",
305
311
  "BillingPeriod",
306
312
  "BillingPeriodStatus",
@@ -319,7 +325,6 @@ __all__ = [
319
325
  "ConfigValues",
320
326
  "Connection",
321
327
  "ConnectionStatus",
322
- "CreateSubscriptionRequest",
323
328
  "CursorConfig",
324
329
  "CustomerPortalRequest",
325
330
  "CustomerPortalResponse",
@@ -329,6 +334,7 @@ __all__ = [
329
334
  "DirectAuthentication",
330
335
  "EmbeddingModel",
331
336
  "EmbeddingModelWithAuthenticationFields",
337
+ "EnableEndpointRequest",
332
338
  "EndpointOut",
333
339
  "EndpointSecretOut",
334
340
  "EntityCount",
@@ -369,8 +375,8 @@ __all__ = [
369
375
  "OrganizationCreate",
370
376
  "OrganizationMetrics",
371
377
  "OrganizationWithRole",
372
- "PatchSubscriptionRequest",
373
378
  "QueryExpansionStrategy",
379
+ "RecoverOut",
374
380
  "ResponseType",
375
381
  "RetrievalStrategy",
376
382
  "S3ConfigRequest",
@@ -0,0 +1,5 @@
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]
@@ -0,0 +1,17 @@
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,20 +1,18 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ import datetime as dt
3
4
  import typing
4
5
 
5
6
  import pydantic
6
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .event_type import EventType
8
8
 
9
9
 
10
- class CreateSubscriptionRequest(UniversalBaseModel):
10
+ class EnableEndpointRequest(UniversalBaseModel):
11
11
  """
12
- Request model for creating a new webhook subscription.
12
+ Request model for enabling an endpoint with optional recovery.
13
13
  """
14
14
 
15
- url: str
16
- event_types: typing.List[EventType]
17
- secret: typing.Optional[str] = None
15
+ recover_since: typing.Optional[dt.datetime] = None
18
16
 
19
17
  if IS_PYDANTIC_V2:
20
18
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -4,16 +4,14 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .event_type import EventType
7
+ from .background_task_status import BackgroundTaskStatus
8
+ from .background_task_type import BackgroundTaskType
8
9
 
9
10
 
10
- class PatchSubscriptionRequest(UniversalBaseModel):
11
- """
12
- Request model for updating an existing webhook subscription.
13
- """
14
-
15
- url: typing.Optional[str] = None
16
- event_types: typing.Optional[typing.List[EventType]] = None
11
+ class RecoverOut(UniversalBaseModel):
12
+ id: str
13
+ status: BackgroundTaskStatus
14
+ task: BackgroundTaskType
17
15
 
18
16
  if IS_PYDANTIC_V2:
19
17
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airweave-sdk
3
- Version: 0.8.63
3
+ Version: 0.8.65
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,5 +1,5 @@
1
- airweave/__init__.py,sha256=-lAc3om40CC568TQZqAZ3XUZO3evsHP-ztp5Wt8scFk,13432
2
- airweave/client.py,sha256=xpFMf0lSCnp06Wd1DmM9r4yw-jFJub7WydHhUhB8MVY,8848
1
+ airweave/__init__.py,sha256=0XPs1oXdeMCYtR2LCb0DKLT2D4aDYIbychELVExjSMo,13611
2
+ airweave/client.py,sha256=diKTHHF-POYEcdqe-h_tdUxYmfcmiN6vWo1xT3R9FIg,9528
3
3
  airweave/collections/__init__.py,sha256=nWWI5Y-IP1ZInn_QUQWh6HLqKhnunP4iFPsvzEb3CQY,1318
4
4
  airweave/collections/client.py,sha256=JPjt1jLWKDxIu4cU1Q5xoH3JAlyf6QR4ohJV4TrPBLw,24396
5
5
  airweave/collections/raw_client.py,sha256=E4VC4O7q_e5jiBVXfbXwTkDHtaB-SB26y9-tj5VwHZQ,37328
@@ -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=rps2Mg1-1WcrtD0p0lkBv4aZf3CkdBEO-kxUI69Vm0E,3330
11
+ airweave/core/client_wrapper.py,sha256=Fc93HS5oVUdHd1wu8vftrDYK7O5V8spistvfWtoA9Ms,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
@@ -23,6 +23,9 @@ airweave/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kw
23
23
  airweave/environment.py,sha256=I28XdHQil-FiJKutg-8TLKR3_5j-D3fZDcqXKWUAswQ,199
24
24
  airweave/errors/__init__.py,sha256=4g1JPPnrPS-pG-WGU1S8HrYE5RoctStcA35abyL_tmI,1134
25
25
  airweave/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
26
+ 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
26
29
  airweave/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
30
  airweave/source_connections/__init__.py,sha256=ekLxu22MBTpo9AysUD0-Zud45QWwTnV2KhFaNK8LgLY,1062
28
31
  airweave/source_connections/client.py,sha256=nw9YQLh9W-7Ea2t_Pp8dggc95QiUFBxZaiwnkkbkytA,29110
@@ -32,7 +35,7 @@ airweave/source_connections/types/authentication.py,sha256=c70Mz6X3_NQJFGPaRiw5T
32
35
  airweave/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
33
36
  airweave/sources/client.py,sha256=V3FmaNPxTCvKXeKWRZuzXwpTcHkZW9hPrhha8a679ms,5219
34
37
  airweave/sources/raw_client.py,sha256=GbuYIs5WSOJTHZeBURZAoGp4pwbYQ_lDXKNK94x3D94,8549
35
- airweave/types/__init__.py,sha256=rQddECp9v9VttckzbMgUUJ6MseeX9f4eD_r6czsJgTU,17605
38
+ airweave/types/__init__.py,sha256=jJtgjH1AQl-0teef1FmdCC1xcbTwP-YEHszPiNHYmWQ,17791
36
39
  airweave/types/action_check_request.py,sha256=PVj-QexQEXQhsI5-JJHSuBWTv1qXbZwcKHD7M0LwPU8,702
37
40
  airweave/types/action_check_response.py,sha256=szjd_tz-7Bxq1-XJ7XKV7LaPcefdGMKt7hwBH78Ue0U,704
38
41
  airweave/types/admin_search_destination.py,sha256=IYkP8QvhuEjeI3FS__0bOQxNLTpDtPBpTgVaIfdNIJs,165
@@ -46,6 +49,8 @@ airweave/types/auth_provider_connection_create.py,sha256=1atsAaWRmw39arflE63QNbl
46
49
  airweave/types/auth_provider_connection_update.py,sha256=EjIn8Z-MFleKPiCB_s1B_OJ59nPG0N83PsDp6D2ESXY,1196
47
50
  airweave/types/authentication_details.py,sha256=zWVzOYPX3AmXopFvfT2jtDuounzHdGSBbCUPB9AHDW4,1122
48
51
  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
49
54
  airweave/types/behavior_config.py,sha256=0tQKohudDGDco_ZiWIVM9UNt_hNuYOapBaAFv2pnros,981
50
55
  airweave/types/billing_period.py,sha256=TQ2BLpUvJaF3gtzeocUpZ4MdaUvRmIZMkTwCn47Qrk4,1657
51
56
  airweave/types/billing_period_status.py,sha256=GiUVfbrwIsyzrV2Ltox0AuSLn73jGO2ITCzIGcOYKsg,200
@@ -64,7 +69,6 @@ airweave/types/config_field.py,sha256=3UDStrO4GzOxn8drfxX6Vad-SVQxKAGMbKp22HXdrD
64
69
  airweave/types/config_values.py,sha256=rSjf0H5PBtes3op5nrD6ZNN3UOgKNyrloxZle8epMlE,141
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
@@ -74,6 +78,7 @@ airweave/types/destination_with_authentication_fields.py,sha256=ghp4Kw3Hoj5GW_r4
74
78
  airweave/types/direct_authentication.py,sha256=NzmNgmF5D0wJVJu1J2IqNvJI0QcDokYY5gXHOZQNfG0,713
75
79
  airweave/types/embedding_model.py,sha256=qCrbSMQDJIBjFhY0RUSGVW26EOxfFqWyr0GmY7e5zUQ,885
76
80
  airweave/types/embedding_model_with_authentication_fields.py,sha256=Nz6EKToA9fnml6o-RyZwjRSi1EEg8KE37LhcRfCxofw,1001
81
+ airweave/types/enable_endpoint_request.py,sha256=f4q3bEvqHgsoNEXMs08i5Lc3qMt4uFO8g8sUqcGOFz4,675
77
82
  airweave/types/endpoint_out.py,sha256=1AzG6ONGMU_m24iGYWcf-TGXxapsVhUlLAK5nullCWo,1261
78
83
  airweave/types/endpoint_secret_out.py,sha256=Ijaal1kd7lgn2d7cIKYm6-CkFGWEFHzR5ZmaWM25gzs,523
79
84
  airweave/types/entity_count.py,sha256=xwopcShPHADyJoSgAs9Iiv76OKPlkStfbv1hLQv7cSU,565
@@ -114,8 +119,8 @@ airweave/types/organization_billing.py,sha256=kLw1Z9ajQD9ErTPVvhqyhLdz-uaNdvZSJ7
114
119
  airweave/types/organization_create.py,sha256=TNcDcO4jG2BfitOfe1F5HompDtENkJZJQQ5mQDoFhJU,1182
115
120
  airweave/types/organization_metrics.py,sha256=13At_esiZuFGRBXEpQzCiq9UIiXlMFpMZYkb-32FkgU,3133
116
121
  airweave/types/organization_with_role.py,sha256=7fTg1pX9yjdJRLXKAGEPJS4UMYH7ujNYPvjW5V_Vtnw,1457
117
- airweave/types/patch_subscription_request.py,sha256=QHU7_ynq3VwTuCDRaBB5V2-fXFL1zqa2zUCyMYr6zK4,734
118
122
  airweave/types/query_expansion_strategy.py,sha256=rjOLMMBNPcTS7TuiWhNkmojscRM4UMSAu8uaiTcvOj0,177
123
+ airweave/types/recover_out.py,sha256=cuhzVbqPemtz88qUssytlx440AGq07r--jyCyZrfLrQ,687
119
124
  airweave/types/response_type.py,sha256=ltOcRHQpUU_kZnf2Ef7n8F9SY-se7tNMH_1rD1CUD1o,157
120
125
  airweave/types/retrieval_strategy.py,sha256=PNFYREPrEHawtFFdPN-XMYE6LV2YrMRcBuDgAhMbrwk,172
121
126
  airweave/types/s_3_config_request.py,sha256=EiZOSxwWqUiLBgTu0bFDx3-lwyYPSKrWbVC4z2Rdym4,1119
@@ -160,6 +165,6 @@ airweave/types/user_organization.py,sha256=l49aIb81u810lx3wrsfEwNEYuvvLDJhrbwgJZ
160
165
  airweave/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
161
166
  airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
162
167
  airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
163
- airweave_sdk-0.8.63.dist-info/METADATA,sha256=8oy-5cdjxDcGJXB-_1tb_JRUtpeHlRBxAuJWsOqN6H0,5916
164
- airweave_sdk-0.8.63.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
165
- airweave_sdk-0.8.63.dist-info/RECORD,,
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,,