airweave-sdk 0.8.19__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.
Files changed (38) hide show
  1. airweave/__init__.py +51 -3
  2. airweave/collections/client.py +15 -2
  3. airweave/collections/raw_client.py +15 -0
  4. airweave/core/client_wrapper.py +2 -2
  5. airweave/types/__init__.py +53 -3
  6. airweave/types/admin_sync_info.py +4 -3
  7. airweave/types/behavior_config.py +36 -0
  8. airweave/types/body_resync_with_execution_config_admin_resync_sync_id_post.py +28 -0
  9. airweave/types/collection.py +6 -0
  10. airweave/types/collection_update.py +8 -2
  11. airweave/types/create_subscription_request.py +26 -0
  12. airweave/types/cursor_config.py +31 -0
  13. airweave/types/destination_config.py +41 -0
  14. airweave/types/endpoint_out.py +35 -0
  15. airweave/types/endpoint_secret_out.py +19 -0
  16. airweave/types/event_type.py +7 -0
  17. airweave/types/feature_flag.py +8 -1
  18. airweave/types/filter.py +4 -4
  19. airweave/types/handler_config.py +36 -0
  20. airweave/types/message_attempt_out.py +37 -0
  21. airweave/types/message_attempt_trigger_type.py +3 -0
  22. airweave/types/message_out.py +29 -0
  23. airweave/types/message_status.py +3 -0
  24. airweave/types/message_status_text.py +5 -0
  25. airweave/types/patch_subscription_request.py +25 -0
  26. airweave/types/s_3_config_request.py +5 -15
  27. airweave/types/search_request.py +1 -1
  28. airweave/types/source.py +10 -0
  29. airweave/types/subscription_with_attempts_out.py +26 -0
  30. airweave/types/sync.py +2 -0
  31. airweave/types/sync_config.py +34 -0
  32. airweave/types/sync_create.py +2 -0
  33. airweave/types/sync_job.py +3 -1
  34. airweave/types/sync_update.py +2 -0
  35. {airweave_sdk-0.8.19.dist-info → airweave_sdk-0.8.48.dist-info}/METADATA +1 -1
  36. {airweave_sdk-0.8.19.dist-info → airweave_sdk-0.8.48.dist-info}/RECORD +37 -21
  37. airweave/types/sync_execution_config.py +0 -79
  38. {airweave_sdk-0.8.19.dist-info → airweave_sdk-0.8.48.dist-info}/WHEEL +0 -0
airweave/__init__.py CHANGED
@@ -21,6 +21,7 @@ if typing.TYPE_CHECKING:
21
21
  AuthProviderConnectionUpdate,
22
22
  AuthenticationDetails,
23
23
  AuthenticationMethod,
24
+ BehaviorConfig,
24
25
  BillingPeriod,
25
26
  BillingPeriodStatus,
26
27
  BillingPeriodUsage,
@@ -28,6 +29,7 @@ if typing.TYPE_CHECKING:
28
29
  BillingStatus,
29
30
  BillingTransition,
30
31
  BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost,
32
+ BodyResyncWithExecutionConfigAdminResyncSyncIdPost,
31
33
  CheckoutSessionRequest,
32
34
  CheckoutSessionResponse,
33
35
  Collection,
@@ -37,14 +39,19 @@ if typing.TYPE_CHECKING:
37
39
  ConfigValues,
38
40
  Connection,
39
41
  ConnectionStatus,
42
+ CreateSubscriptionRequest,
43
+ CursorConfig,
40
44
  CustomerPortalRequest,
41
45
  CustomerPortalResponse,
42
46
  DatetimeRange,
43
47
  Destination,
48
+ DestinationConfig,
44
49
  DestinationWithAuthenticationFields,
45
50
  DirectAuthentication,
46
51
  EmbeddingModel,
47
52
  EmbeddingModelWithAuthenticationFields,
53
+ EndpointOut,
54
+ EndpointSecretOut,
48
55
  EntityCount,
49
56
  EntityCountWithDefinition,
50
57
  EntityDefinition,
@@ -54,6 +61,7 @@ if typing.TYPE_CHECKING:
54
61
  EntitySummary,
55
62
  EntityType,
56
63
  EntityTypeStats,
64
+ EventType,
57
65
  Except,
58
66
  FeatureFlag,
59
67
  FieldCondition,
@@ -70,6 +78,7 @@ if typing.TYPE_CHECKING:
70
78
  GeoRadius,
71
79
  Gt,
72
80
  Gte,
81
+ HandlerConfig,
73
82
  HasIdCondition,
74
83
  HasIdConditionHasIdItem,
75
84
  HasVectorCondition,
@@ -93,7 +102,12 @@ if typing.TYPE_CHECKING:
93
102
  MatchText,
94
103
  MatchValue,
95
104
  MemberResponse,
105
+ MessageAttemptOut,
106
+ MessageAttemptTriggerType,
107
+ MessageOut,
96
108
  MessageResponse,
109
+ MessageStatus,
110
+ MessageStatusText,
97
111
  MinShould,
98
112
  MinShouldConditionsItem,
99
113
  MinuteLevelScheduleConfig,
@@ -108,6 +122,7 @@ if typing.TYPE_CHECKING:
108
122
  OrganizationCreate,
109
123
  OrganizationMetrics,
110
124
  OrganizationWithRole,
125
+ PatchSubscriptionRequest,
111
126
  PayloadField,
112
127
  QueryExpansionStrategy,
113
128
  Range,
@@ -133,10 +148,11 @@ if typing.TYPE_CHECKING:
133
148
  SourceRateLimitResponse,
134
149
  SourceRateLimitUpdateRequest,
135
150
  SubscriptionInfo,
151
+ SubscriptionWithAttemptsOut,
136
152
  Sync,
153
+ SyncConfig,
137
154
  SyncCreate,
138
155
  SyncDetails,
139
- SyncExecutionConfig,
140
156
  SyncJob,
141
157
  SyncJobDetails,
142
158
  SyncJobStatus,
@@ -183,6 +199,7 @@ _dynamic_imports: typing.Dict[str, str] = {
183
199
  "Authentication": ".source_connections",
184
200
  "AuthenticationDetails": ".types",
185
201
  "AuthenticationMethod": ".types",
202
+ "BehaviorConfig": ".types",
186
203
  "BillingPeriod": ".types",
187
204
  "BillingPeriodStatus": ".types",
188
205
  "BillingPeriodUsage": ".types",
@@ -190,6 +207,7 @@ _dynamic_imports: typing.Dict[str, str] = {
190
207
  "BillingStatus": ".types",
191
208
  "BillingTransition": ".types",
192
209
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost": ".types",
210
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost": ".types",
193
211
  "CheckoutSessionRequest": ".types",
194
212
  "CheckoutSessionResponse": ".types",
195
213
  "Collection": ".types",
@@ -199,14 +217,19 @@ _dynamic_imports: typing.Dict[str, str] = {
199
217
  "ConfigValues": ".types",
200
218
  "Connection": ".types",
201
219
  "ConnectionStatus": ".types",
220
+ "CreateSubscriptionRequest": ".types",
221
+ "CursorConfig": ".types",
202
222
  "CustomerPortalRequest": ".types",
203
223
  "CustomerPortalResponse": ".types",
204
224
  "DatetimeRange": ".types",
205
225
  "Destination": ".types",
226
+ "DestinationConfig": ".types",
206
227
  "DestinationWithAuthenticationFields": ".types",
207
228
  "DirectAuthentication": ".types",
208
229
  "EmbeddingModel": ".types",
209
230
  "EmbeddingModelWithAuthenticationFields": ".types",
231
+ "EndpointOut": ".types",
232
+ "EndpointSecretOut": ".types",
210
233
  "EntityCount": ".types",
211
234
  "EntityCountWithDefinition": ".types",
212
235
  "EntityDefinition": ".types",
@@ -216,6 +239,7 @@ _dynamic_imports: typing.Dict[str, str] = {
216
239
  "EntitySummary": ".types",
217
240
  "EntityType": ".types",
218
241
  "EntityTypeStats": ".types",
242
+ "EventType": ".types",
219
243
  "Except": ".types",
220
244
  "FeatureFlag": ".types",
221
245
  "FieldCondition": ".types",
@@ -232,6 +256,7 @@ _dynamic_imports: typing.Dict[str, str] = {
232
256
  "GeoRadius": ".types",
233
257
  "Gt": ".types",
234
258
  "Gte": ".types",
259
+ "HandlerConfig": ".types",
235
260
  "HasIdCondition": ".types",
236
261
  "HasIdConditionHasIdItem": ".types",
237
262
  "HasVectorCondition": ".types",
@@ -255,7 +280,12 @@ _dynamic_imports: typing.Dict[str, str] = {
255
280
  "MatchText": ".types",
256
281
  "MatchValue": ".types",
257
282
  "MemberResponse": ".types",
283
+ "MessageAttemptOut": ".types",
284
+ "MessageAttemptTriggerType": ".types",
285
+ "MessageOut": ".types",
258
286
  "MessageResponse": ".types",
287
+ "MessageStatus": ".types",
288
+ "MessageStatusText": ".types",
259
289
  "MinShould": ".types",
260
290
  "MinShouldConditionsItem": ".types",
261
291
  "MinuteLevelScheduleConfig": ".types",
@@ -270,6 +300,7 @@ _dynamic_imports: typing.Dict[str, str] = {
270
300
  "OrganizationCreate": ".types",
271
301
  "OrganizationMetrics": ".types",
272
302
  "OrganizationWithRole": ".types",
303
+ "PatchSubscriptionRequest": ".types",
273
304
  "PayloadField": ".types",
274
305
  "QueryExpansionStrategy": ".types",
275
306
  "Range": ".types",
@@ -297,10 +328,11 @@ _dynamic_imports: typing.Dict[str, str] = {
297
328
  "SourceRateLimitResponse": ".types",
298
329
  "SourceRateLimitUpdateRequest": ".types",
299
330
  "SubscriptionInfo": ".types",
331
+ "SubscriptionWithAttemptsOut": ".types",
300
332
  "Sync": ".types",
333
+ "SyncConfig": ".types",
301
334
  "SyncCreate": ".types",
302
335
  "SyncDetails": ".types",
303
- "SyncExecutionConfig": ".types",
304
336
  "SyncJob": ".types",
305
337
  "SyncJobDetails": ".types",
306
338
  "SyncJobStatus": ".types",
@@ -368,6 +400,7 @@ __all__ = [
368
400
  "Authentication",
369
401
  "AuthenticationDetails",
370
402
  "AuthenticationMethod",
403
+ "BehaviorConfig",
371
404
  "BillingPeriod",
372
405
  "BillingPeriodStatus",
373
406
  "BillingPeriodUsage",
@@ -375,6 +408,7 @@ __all__ = [
375
408
  "BillingStatus",
376
409
  "BillingTransition",
377
410
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost",
411
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost",
378
412
  "CheckoutSessionRequest",
379
413
  "CheckoutSessionResponse",
380
414
  "Collection",
@@ -384,14 +418,19 @@ __all__ = [
384
418
  "ConfigValues",
385
419
  "Connection",
386
420
  "ConnectionStatus",
421
+ "CreateSubscriptionRequest",
422
+ "CursorConfig",
387
423
  "CustomerPortalRequest",
388
424
  "CustomerPortalResponse",
389
425
  "DatetimeRange",
390
426
  "Destination",
427
+ "DestinationConfig",
391
428
  "DestinationWithAuthenticationFields",
392
429
  "DirectAuthentication",
393
430
  "EmbeddingModel",
394
431
  "EmbeddingModelWithAuthenticationFields",
432
+ "EndpointOut",
433
+ "EndpointSecretOut",
395
434
  "EntityCount",
396
435
  "EntityCountWithDefinition",
397
436
  "EntityDefinition",
@@ -401,6 +440,7 @@ __all__ = [
401
440
  "EntitySummary",
402
441
  "EntityType",
403
442
  "EntityTypeStats",
443
+ "EventType",
404
444
  "Except",
405
445
  "FeatureFlag",
406
446
  "FieldCondition",
@@ -417,6 +457,7 @@ __all__ = [
417
457
  "GeoRadius",
418
458
  "Gt",
419
459
  "Gte",
460
+ "HandlerConfig",
420
461
  "HasIdCondition",
421
462
  "HasIdConditionHasIdItem",
422
463
  "HasVectorCondition",
@@ -440,7 +481,12 @@ __all__ = [
440
481
  "MatchText",
441
482
  "MatchValue",
442
483
  "MemberResponse",
484
+ "MessageAttemptOut",
485
+ "MessageAttemptTriggerType",
486
+ "MessageOut",
443
487
  "MessageResponse",
488
+ "MessageStatus",
489
+ "MessageStatusText",
444
490
  "MinShould",
445
491
  "MinShouldConditionsItem",
446
492
  "MinuteLevelScheduleConfig",
@@ -455,6 +501,7 @@ __all__ = [
455
501
  "OrganizationCreate",
456
502
  "OrganizationMetrics",
457
503
  "OrganizationWithRole",
504
+ "PatchSubscriptionRequest",
458
505
  "PayloadField",
459
506
  "QueryExpansionStrategy",
460
507
  "Range",
@@ -482,10 +529,11 @@ __all__ = [
482
529
  "SourceRateLimitResponse",
483
530
  "SourceRateLimitUpdateRequest",
484
531
  "SubscriptionInfo",
532
+ "SubscriptionWithAttemptsOut",
485
533
  "Sync",
534
+ "SyncConfig",
486
535
  "SyncCreate",
487
536
  "SyncDetails",
488
- "SyncExecutionConfig",
489
537
  "SyncJob",
490
538
  "SyncJobDetails",
491
539
  "SyncJobStatus",
@@ -8,6 +8,7 @@ from ..types.collection import Collection
8
8
  from ..types.legacy_search_response import LegacySearchResponse
9
9
  from ..types.response_type import ResponseType
10
10
  from ..types.source_connection_job import SourceConnectionJob
11
+ from ..types.sync_config import SyncConfig
11
12
  from .raw_client import AsyncRawCollectionsClient, RawCollectionsClient
12
13
  from .types.search_collections_readable_id_search_post_request import SearchCollectionsReadableIdSearchPostRequest
13
14
  from .types.search_collections_readable_id_search_post_response import SearchCollectionsReadableIdSearchPostResponse
@@ -86,6 +87,7 @@ class CollectionsClient:
86
87
  *,
87
88
  name: str,
88
89
  readable_id: typing.Optional[str] = OMIT,
90
+ sync_config: typing.Optional[SyncConfig] = OMIT,
89
91
  request_options: typing.Optional[RequestOptions] = None,
90
92
  ) -> Collection:
91
93
  """
@@ -102,6 +104,9 @@ class CollectionsClient:
102
104
  readable_id : typing.Optional[str]
103
105
  URL-safe unique identifier used in API endpoints. Must contain only lowercase letters, numbers, and hyphens. If not provided, it will be automatically generated from the collection name with a random suffix for uniqueness (e.g., 'finance-data-ab123').
104
106
 
107
+ sync_config : typing.Optional[SyncConfig]
108
+ Default sync configuration for all syncs in this collection. This provides collection-level defaults that can be overridden at sync or job level.
109
+
105
110
  request_options : typing.Optional[RequestOptions]
106
111
  Request-specific configuration.
107
112
 
@@ -124,7 +129,9 @@ class CollectionsClient:
124
129
  readable_id="finance-data-reports",
125
130
  )
126
131
  """
127
- _response = self._raw_client.create(name=name, readable_id=readable_id, request_options=request_options)
132
+ _response = self._raw_client.create(
133
+ name=name, readable_id=readable_id, sync_config=sync_config, request_options=request_options
134
+ )
128
135
  return _response.data
129
136
 
130
137
  def get(self, readable_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Collection:
@@ -437,6 +444,7 @@ class AsyncCollectionsClient:
437
444
  *,
438
445
  name: str,
439
446
  readable_id: typing.Optional[str] = OMIT,
447
+ sync_config: typing.Optional[SyncConfig] = OMIT,
440
448
  request_options: typing.Optional[RequestOptions] = None,
441
449
  ) -> Collection:
442
450
  """
@@ -453,6 +461,9 @@ class AsyncCollectionsClient:
453
461
  readable_id : typing.Optional[str]
454
462
  URL-safe unique identifier used in API endpoints. Must contain only lowercase letters, numbers, and hyphens. If not provided, it will be automatically generated from the collection name with a random suffix for uniqueness (e.g., 'finance-data-ab123').
455
463
 
464
+ sync_config : typing.Optional[SyncConfig]
465
+ Default sync configuration for all syncs in this collection. This provides collection-level defaults that can be overridden at sync or job level.
466
+
456
467
  request_options : typing.Optional[RequestOptions]
457
468
  Request-specific configuration.
458
469
 
@@ -483,7 +494,9 @@ class AsyncCollectionsClient:
483
494
 
484
495
  asyncio.run(main())
485
496
  """
486
- _response = await self._raw_client.create(name=name, readable_id=readable_id, request_options=request_options)
497
+ _response = await self._raw_client.create(
498
+ name=name, readable_id=readable_id, sync_config=sync_config, request_options=request_options
499
+ )
487
500
  return _response.data
488
501
 
489
502
  async def get(self, readable_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Collection:
@@ -16,6 +16,7 @@ from ..types.http_validation_error import HttpValidationError
16
16
  from ..types.legacy_search_response import LegacySearchResponse
17
17
  from ..types.response_type import ResponseType
18
18
  from ..types.source_connection_job import SourceConnectionJob
19
+ from ..types.sync_config import SyncConfig
19
20
  from .types.search_collections_readable_id_search_post_request import SearchCollectionsReadableIdSearchPostRequest
20
21
  from .types.search_collections_readable_id_search_post_response import SearchCollectionsReadableIdSearchPostResponse
21
22
 
@@ -100,6 +101,7 @@ class RawCollectionsClient:
100
101
  *,
101
102
  name: str,
102
103
  readable_id: typing.Optional[str] = OMIT,
104
+ sync_config: typing.Optional[SyncConfig] = OMIT,
103
105
  request_options: typing.Optional[RequestOptions] = None,
104
106
  ) -> HttpResponse[Collection]:
105
107
  """
@@ -116,6 +118,9 @@ class RawCollectionsClient:
116
118
  readable_id : typing.Optional[str]
117
119
  URL-safe unique identifier used in API endpoints. Must contain only lowercase letters, numbers, and hyphens. If not provided, it will be automatically generated from the collection name with a random suffix for uniqueness (e.g., 'finance-data-ab123').
118
120
 
121
+ sync_config : typing.Optional[SyncConfig]
122
+ Default sync configuration for all syncs in this collection. This provides collection-level defaults that can be overridden at sync or job level.
123
+
119
124
  request_options : typing.Optional[RequestOptions]
120
125
  Request-specific configuration.
121
126
 
@@ -130,6 +135,9 @@ class RawCollectionsClient:
130
135
  json={
131
136
  "name": name,
132
137
  "readable_id": readable_id,
138
+ "sync_config": convert_and_respect_annotation_metadata(
139
+ object_=sync_config, annotation=SyncConfig, direction="write"
140
+ ),
133
141
  },
134
142
  headers={
135
143
  "content-type": "application/json",
@@ -549,6 +557,7 @@ class AsyncRawCollectionsClient:
549
557
  *,
550
558
  name: str,
551
559
  readable_id: typing.Optional[str] = OMIT,
560
+ sync_config: typing.Optional[SyncConfig] = OMIT,
552
561
  request_options: typing.Optional[RequestOptions] = None,
553
562
  ) -> AsyncHttpResponse[Collection]:
554
563
  """
@@ -565,6 +574,9 @@ class AsyncRawCollectionsClient:
565
574
  readable_id : typing.Optional[str]
566
575
  URL-safe unique identifier used in API endpoints. Must contain only lowercase letters, numbers, and hyphens. If not provided, it will be automatically generated from the collection name with a random suffix for uniqueness (e.g., 'finance-data-ab123').
567
576
 
577
+ sync_config : typing.Optional[SyncConfig]
578
+ Default sync configuration for all syncs in this collection. This provides collection-level defaults that can be overridden at sync or job level.
579
+
568
580
  request_options : typing.Optional[RequestOptions]
569
581
  Request-specific configuration.
570
582
 
@@ -579,6 +591,9 @@ class AsyncRawCollectionsClient:
579
591
  json={
580
592
  "name": name,
581
593
  "readable_id": readable_id,
594
+ "sync_config": convert_and_respect_annotation_metadata(
595
+ object_=sync_config, annotation=SyncConfig, direction="write"
596
+ ),
582
597
  },
583
598
  headers={
584
599
  "content-type": "application/json",
@@ -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.19",
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.19",
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:
@@ -20,6 +20,7 @@ if typing.TYPE_CHECKING:
20
20
  from .auth_provider_connection_update import AuthProviderConnectionUpdate
21
21
  from .authentication_details import AuthenticationDetails
22
22
  from .authentication_method import AuthenticationMethod
23
+ from .behavior_config import BehaviorConfig
23
24
  from .billing_period import BillingPeriod
24
25
  from .billing_period_status import BillingPeriodStatus
25
26
  from .billing_period_usage import BillingPeriodUsage
@@ -29,6 +30,9 @@ if typing.TYPE_CHECKING:
29
30
  from .body_connect_slack_with_token_connections_direct_token_slack_post import (
30
31
  BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost,
31
32
  )
33
+ from .body_resync_with_execution_config_admin_resync_sync_id_post import (
34
+ BodyResyncWithExecutionConfigAdminResyncSyncIdPost,
35
+ )
32
36
  from .checkout_session_request import CheckoutSessionRequest
33
37
  from .checkout_session_response import CheckoutSessionResponse
34
38
  from .collection import Collection
@@ -38,14 +42,19 @@ if typing.TYPE_CHECKING:
38
42
  from .config_values import ConfigValues
39
43
  from .connection import Connection
40
44
  from .connection_status import ConnectionStatus
45
+ from .create_subscription_request import CreateSubscriptionRequest
46
+ from .cursor_config import CursorConfig
41
47
  from .customer_portal_request import CustomerPortalRequest
42
48
  from .customer_portal_response import CustomerPortalResponse
43
49
  from .datetime_range import DatetimeRange
44
50
  from .destination import Destination
51
+ from .destination_config import DestinationConfig
45
52
  from .destination_with_authentication_fields import DestinationWithAuthenticationFields
46
53
  from .direct_authentication import DirectAuthentication
47
54
  from .embedding_model import EmbeddingModel
48
55
  from .embedding_model_with_authentication_fields import EmbeddingModelWithAuthenticationFields
56
+ from .endpoint_out import EndpointOut
57
+ from .endpoint_secret_out import EndpointSecretOut
49
58
  from .entity_count import EntityCount
50
59
  from .entity_count_with_definition import EntityCountWithDefinition
51
60
  from .entity_definition import EntityDefinition
@@ -55,6 +64,7 @@ if typing.TYPE_CHECKING:
55
64
  from .entity_summary import EntitySummary
56
65
  from .entity_type import EntityType
57
66
  from .entity_type_stats import EntityTypeStats
67
+ from .event_type import EventType
58
68
  from .except_ import Except
59
69
  from .feature_flag import FeatureFlag
60
70
  from .field_condition import FieldCondition
@@ -71,6 +81,7 @@ if typing.TYPE_CHECKING:
71
81
  from .geo_radius import GeoRadius
72
82
  from .gt import Gt
73
83
  from .gte import Gte
84
+ from .handler_config import HandlerConfig
74
85
  from .has_id_condition import HasIdCondition
75
86
  from .has_id_condition_has_id_item import HasIdConditionHasIdItem
76
87
  from .has_vector_condition import HasVectorCondition
@@ -94,7 +105,12 @@ if typing.TYPE_CHECKING:
94
105
  from .match_text import MatchText
95
106
  from .match_value import MatchValue
96
107
  from .member_response import MemberResponse
108
+ from .message_attempt_out import MessageAttemptOut
109
+ from .message_attempt_trigger_type import MessageAttemptTriggerType
110
+ from .message_out import MessageOut
97
111
  from .message_response import MessageResponse
112
+ from .message_status import MessageStatus
113
+ from .message_status_text import MessageStatusText
98
114
  from .min_should import MinShould
99
115
  from .min_should_conditions_item import MinShouldConditionsItem
100
116
  from .minute_level_schedule_config import MinuteLevelScheduleConfig
@@ -109,6 +125,7 @@ if typing.TYPE_CHECKING:
109
125
  from .organization_create import OrganizationCreate
110
126
  from .organization_metrics import OrganizationMetrics
111
127
  from .organization_with_role import OrganizationWithRole
128
+ from .patch_subscription_request import PatchSubscriptionRequest
112
129
  from .payload_field import PayloadField
113
130
  from .query_expansion_strategy import QueryExpansionStrategy
114
131
  from .range import Range
@@ -134,10 +151,11 @@ if typing.TYPE_CHECKING:
134
151
  from .source_rate_limit_response import SourceRateLimitResponse
135
152
  from .source_rate_limit_update_request import SourceRateLimitUpdateRequest
136
153
  from .subscription_info import SubscriptionInfo
154
+ from .subscription_with_attempts_out import SubscriptionWithAttemptsOut
137
155
  from .sync import Sync
156
+ from .sync_config import SyncConfig
138
157
  from .sync_create import SyncCreate
139
158
  from .sync_details import SyncDetails
140
- from .sync_execution_config import SyncExecutionConfig
141
159
  from .sync_job import SyncJob
142
160
  from .sync_job_details import SyncJobDetails
143
161
  from .sync_job_status import SyncJobStatus
@@ -172,6 +190,7 @@ _dynamic_imports: typing.Dict[str, str] = {
172
190
  "AuthProviderConnectionUpdate": ".auth_provider_connection_update",
173
191
  "AuthenticationDetails": ".authentication_details",
174
192
  "AuthenticationMethod": ".authentication_method",
193
+ "BehaviorConfig": ".behavior_config",
175
194
  "BillingPeriod": ".billing_period",
176
195
  "BillingPeriodStatus": ".billing_period_status",
177
196
  "BillingPeriodUsage": ".billing_period_usage",
@@ -179,6 +198,7 @@ _dynamic_imports: typing.Dict[str, str] = {
179
198
  "BillingStatus": ".billing_status",
180
199
  "BillingTransition": ".billing_transition",
181
200
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost": ".body_connect_slack_with_token_connections_direct_token_slack_post",
201
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost": ".body_resync_with_execution_config_admin_resync_sync_id_post",
182
202
  "CheckoutSessionRequest": ".checkout_session_request",
183
203
  "CheckoutSessionResponse": ".checkout_session_response",
184
204
  "Collection": ".collection",
@@ -188,14 +208,19 @@ _dynamic_imports: typing.Dict[str, str] = {
188
208
  "ConfigValues": ".config_values",
189
209
  "Connection": ".connection",
190
210
  "ConnectionStatus": ".connection_status",
211
+ "CreateSubscriptionRequest": ".create_subscription_request",
212
+ "CursorConfig": ".cursor_config",
191
213
  "CustomerPortalRequest": ".customer_portal_request",
192
214
  "CustomerPortalResponse": ".customer_portal_response",
193
215
  "DatetimeRange": ".datetime_range",
194
216
  "Destination": ".destination",
217
+ "DestinationConfig": ".destination_config",
195
218
  "DestinationWithAuthenticationFields": ".destination_with_authentication_fields",
196
219
  "DirectAuthentication": ".direct_authentication",
197
220
  "EmbeddingModel": ".embedding_model",
198
221
  "EmbeddingModelWithAuthenticationFields": ".embedding_model_with_authentication_fields",
222
+ "EndpointOut": ".endpoint_out",
223
+ "EndpointSecretOut": ".endpoint_secret_out",
199
224
  "EntityCount": ".entity_count",
200
225
  "EntityCountWithDefinition": ".entity_count_with_definition",
201
226
  "EntityDefinition": ".entity_definition",
@@ -205,6 +230,7 @@ _dynamic_imports: typing.Dict[str, str] = {
205
230
  "EntitySummary": ".entity_summary",
206
231
  "EntityType": ".entity_type",
207
232
  "EntityTypeStats": ".entity_type_stats",
233
+ "EventType": ".event_type",
208
234
  "Except": ".except_",
209
235
  "FeatureFlag": ".feature_flag",
210
236
  "FieldCondition": ".field_condition",
@@ -221,6 +247,7 @@ _dynamic_imports: typing.Dict[str, str] = {
221
247
  "GeoRadius": ".geo_radius",
222
248
  "Gt": ".gt",
223
249
  "Gte": ".gte",
250
+ "HandlerConfig": ".handler_config",
224
251
  "HasIdCondition": ".has_id_condition",
225
252
  "HasIdConditionHasIdItem": ".has_id_condition_has_id_item",
226
253
  "HasVectorCondition": ".has_vector_condition",
@@ -244,7 +271,12 @@ _dynamic_imports: typing.Dict[str, str] = {
244
271
  "MatchText": ".match_text",
245
272
  "MatchValue": ".match_value",
246
273
  "MemberResponse": ".member_response",
274
+ "MessageAttemptOut": ".message_attempt_out",
275
+ "MessageAttemptTriggerType": ".message_attempt_trigger_type",
276
+ "MessageOut": ".message_out",
247
277
  "MessageResponse": ".message_response",
278
+ "MessageStatus": ".message_status",
279
+ "MessageStatusText": ".message_status_text",
248
280
  "MinShould": ".min_should",
249
281
  "MinShouldConditionsItem": ".min_should_conditions_item",
250
282
  "MinuteLevelScheduleConfig": ".minute_level_schedule_config",
@@ -259,6 +291,7 @@ _dynamic_imports: typing.Dict[str, str] = {
259
291
  "OrganizationCreate": ".organization_create",
260
292
  "OrganizationMetrics": ".organization_metrics",
261
293
  "OrganizationWithRole": ".organization_with_role",
294
+ "PatchSubscriptionRequest": ".patch_subscription_request",
262
295
  "PayloadField": ".payload_field",
263
296
  "QueryExpansionStrategy": ".query_expansion_strategy",
264
297
  "Range": ".range",
@@ -284,10 +317,11 @@ _dynamic_imports: typing.Dict[str, str] = {
284
317
  "SourceRateLimitResponse": ".source_rate_limit_response",
285
318
  "SourceRateLimitUpdateRequest": ".source_rate_limit_update_request",
286
319
  "SubscriptionInfo": ".subscription_info",
320
+ "SubscriptionWithAttemptsOut": ".subscription_with_attempts_out",
287
321
  "Sync": ".sync",
322
+ "SyncConfig": ".sync_config",
288
323
  "SyncCreate": ".sync_create",
289
324
  "SyncDetails": ".sync_details",
290
- "SyncExecutionConfig": ".sync_execution_config",
291
325
  "SyncJob": ".sync_job",
292
326
  "SyncJobDetails": ".sync_job_details",
293
327
  "SyncJobStatus": ".sync_job_status",
@@ -346,6 +380,7 @@ __all__ = [
346
380
  "AuthProviderConnectionUpdate",
347
381
  "AuthenticationDetails",
348
382
  "AuthenticationMethod",
383
+ "BehaviorConfig",
349
384
  "BillingPeriod",
350
385
  "BillingPeriodStatus",
351
386
  "BillingPeriodUsage",
@@ -353,6 +388,7 @@ __all__ = [
353
388
  "BillingStatus",
354
389
  "BillingTransition",
355
390
  "BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost",
391
+ "BodyResyncWithExecutionConfigAdminResyncSyncIdPost",
356
392
  "CheckoutSessionRequest",
357
393
  "CheckoutSessionResponse",
358
394
  "Collection",
@@ -362,14 +398,19 @@ __all__ = [
362
398
  "ConfigValues",
363
399
  "Connection",
364
400
  "ConnectionStatus",
401
+ "CreateSubscriptionRequest",
402
+ "CursorConfig",
365
403
  "CustomerPortalRequest",
366
404
  "CustomerPortalResponse",
367
405
  "DatetimeRange",
368
406
  "Destination",
407
+ "DestinationConfig",
369
408
  "DestinationWithAuthenticationFields",
370
409
  "DirectAuthentication",
371
410
  "EmbeddingModel",
372
411
  "EmbeddingModelWithAuthenticationFields",
412
+ "EndpointOut",
413
+ "EndpointSecretOut",
373
414
  "EntityCount",
374
415
  "EntityCountWithDefinition",
375
416
  "EntityDefinition",
@@ -379,6 +420,7 @@ __all__ = [
379
420
  "EntitySummary",
380
421
  "EntityType",
381
422
  "EntityTypeStats",
423
+ "EventType",
382
424
  "Except",
383
425
  "FeatureFlag",
384
426
  "FieldCondition",
@@ -395,6 +437,7 @@ __all__ = [
395
437
  "GeoRadius",
396
438
  "Gt",
397
439
  "Gte",
440
+ "HandlerConfig",
398
441
  "HasIdCondition",
399
442
  "HasIdConditionHasIdItem",
400
443
  "HasVectorCondition",
@@ -418,7 +461,12 @@ __all__ = [
418
461
  "MatchText",
419
462
  "MatchValue",
420
463
  "MemberResponse",
464
+ "MessageAttemptOut",
465
+ "MessageAttemptTriggerType",
466
+ "MessageOut",
421
467
  "MessageResponse",
468
+ "MessageStatus",
469
+ "MessageStatusText",
422
470
  "MinShould",
423
471
  "MinShouldConditionsItem",
424
472
  "MinuteLevelScheduleConfig",
@@ -433,6 +481,7 @@ __all__ = [
433
481
  "OrganizationCreate",
434
482
  "OrganizationMetrics",
435
483
  "OrganizationWithRole",
484
+ "PatchSubscriptionRequest",
436
485
  "PayloadField",
437
486
  "QueryExpansionStrategy",
438
487
  "Range",
@@ -458,10 +507,11 @@ __all__ = [
458
507
  "SourceRateLimitResponse",
459
508
  "SourceRateLimitUpdateRequest",
460
509
  "SubscriptionInfo",
510
+ "SubscriptionWithAttemptsOut",
461
511
  "Sync",
512
+ "SyncConfig",
462
513
  "SyncCreate",
463
514
  "SyncDetails",
464
- "SyncExecutionConfig",
465
515
  "SyncJob",
466
516
  "SyncJobDetails",
467
517
  "SyncJobStatus",
@@ -5,6 +5,7 @@ import typing
5
5
 
6
6
  import pydantic
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from .sync_config import SyncConfig
8
9
  from .sync_status import SyncStatus
9
10
 
10
11
 
@@ -22,6 +23,7 @@ class AdminSyncInfo(UniversalBaseModel):
22
23
  temporal_schedule_id: typing.Optional[str] = None
23
24
  sync_type: typing.Optional[str] = None
24
25
  sync_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
26
+ sync_config: typing.Optional[SyncConfig] = None
25
27
  status: SyncStatus
26
28
  id: str
27
29
  organization_id: str
@@ -35,12 +37,11 @@ class AdminSyncInfo(UniversalBaseModel):
35
37
  total_vespa_entity_count: typing.Optional[int] = None
36
38
  last_job_status: typing.Optional[str] = None
37
39
  last_job_at: typing.Optional[dt.datetime] = None
40
+ last_job_error: typing.Optional[str] = None
41
+ all_tags: typing.Optional[typing.List[str]] = None
38
42
  source_short_name: typing.Optional[str] = None
39
43
  source_is_authenticated: typing.Optional[bool] = None
40
44
  readable_collection_id: typing.Optional[str] = None
41
- last_vespa_job_id: typing.Optional[str] = None
42
- last_vespa_job_status: typing.Optional[str] = None
43
- last_vespa_job_at: typing.Optional[dt.datetime] = None
44
45
 
45
46
  if IS_PYDANTIC_V2:
46
47
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2