airbyte-agent-orb 0.1.6__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.
- airbyte_agent_orb/__init__.py +139 -0
- airbyte_agent_orb/_vendored/__init__.py +1 -0
- airbyte_agent_orb/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_orb/_vendored/connector_sdk/auth_strategies.py +1171 -0
- airbyte_agent_orb/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/client.py +338 -0
- airbyte_agent_orb/_vendored/connector_sdk/connector_model_loader.py +1121 -0
- airbyte_agent_orb/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_orb/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_orb/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_orb/_vendored/connector_sdk/executor/hosted_executor.py +230 -0
- airbyte_agent_orb/_vendored/connector_sdk/executor/local_executor.py +1848 -0
- airbyte_agent_orb/_vendored/connector_sdk/executor/models.py +202 -0
- airbyte_agent_orb/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/adapters/httpx_adapter.py +260 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_orb/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_orb/_vendored/connector_sdk/http_client.py +693 -0
- airbyte_agent_orb/_vendored/connector_sdk/introspection.py +481 -0
- airbyte_agent_orb/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_orb/_vendored/connector_sdk/logging/logger.py +273 -0
- airbyte_agent_orb/_vendored/connector_sdk/logging/types.py +93 -0
- airbyte_agent_orb/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_orb/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_orb/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_orb/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_orb/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_orb/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_orb/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_orb/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/base.py +212 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/components.py +244 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/extensions.py +301 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/operations.py +156 -0
- airbyte_agent_orb/_vendored/connector_sdk/schema/security.py +241 -0
- airbyte_agent_orb/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_orb/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_orb/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_orb/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_orb/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_orb/_vendored/connector_sdk/types.py +274 -0
- airbyte_agent_orb/_vendored/connector_sdk/utils.py +127 -0
- airbyte_agent_orb/_vendored/connector_sdk/validation.py +997 -0
- airbyte_agent_orb/_vendored/connector_sdk/validation_replication.py +970 -0
- airbyte_agent_orb/connector.py +1179 -0
- airbyte_agent_orb/connector_model.py +2163 -0
- airbyte_agent_orb/models.py +532 -0
- airbyte_agent_orb/types.py +1090 -0
- airbyte_agent_orb-0.1.6.dist-info/METADATA +153 -0
- airbyte_agent_orb-0.1.6.dist-info/RECORD +58 -0
- airbyte_agent_orb-0.1.6.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Orb connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import OrbConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
OrbAuthConfig,
|
|
10
|
+
Address,
|
|
11
|
+
CustomerTaxId,
|
|
12
|
+
Customer,
|
|
13
|
+
PaginationMetadata,
|
|
14
|
+
CustomersList,
|
|
15
|
+
SubscriptionPlan,
|
|
16
|
+
SubscriptionCustomer,
|
|
17
|
+
Subscription,
|
|
18
|
+
SubscriptionsList,
|
|
19
|
+
PlanProduct,
|
|
20
|
+
PlanPricesItem,
|
|
21
|
+
Plan,
|
|
22
|
+
PlansList,
|
|
23
|
+
InvoiceLineItemsItem,
|
|
24
|
+
InvoiceSubscription,
|
|
25
|
+
InvoiceCustomer,
|
|
26
|
+
Invoice,
|
|
27
|
+
InvoicesList,
|
|
28
|
+
CustomersListResultMeta,
|
|
29
|
+
SubscriptionsListResultMeta,
|
|
30
|
+
PlansListResultMeta,
|
|
31
|
+
InvoicesListResultMeta,
|
|
32
|
+
OrbCheckResult,
|
|
33
|
+
OrbExecuteResult,
|
|
34
|
+
OrbExecuteResultWithMeta,
|
|
35
|
+
CustomersListResult,
|
|
36
|
+
SubscriptionsListResult,
|
|
37
|
+
PlansListResult,
|
|
38
|
+
InvoicesListResult,
|
|
39
|
+
AirbyteSearchHit,
|
|
40
|
+
AirbyteSearchResult,
|
|
41
|
+
CustomersSearchData,
|
|
42
|
+
CustomersSearchResult,
|
|
43
|
+
SubscriptionsSearchData,
|
|
44
|
+
SubscriptionsSearchResult,
|
|
45
|
+
PlansSearchData,
|
|
46
|
+
PlansSearchResult,
|
|
47
|
+
InvoicesSearchData,
|
|
48
|
+
InvoicesSearchResult
|
|
49
|
+
)
|
|
50
|
+
from .types import (
|
|
51
|
+
CustomersListParams,
|
|
52
|
+
CustomersGetParams,
|
|
53
|
+
SubscriptionsListParams,
|
|
54
|
+
SubscriptionsGetParams,
|
|
55
|
+
PlansListParams,
|
|
56
|
+
PlansGetParams,
|
|
57
|
+
InvoicesListParams,
|
|
58
|
+
InvoicesGetParams,
|
|
59
|
+
AirbyteSearchParams,
|
|
60
|
+
AirbyteSortOrder,
|
|
61
|
+
CustomersSearchFilter,
|
|
62
|
+
CustomersSearchQuery,
|
|
63
|
+
CustomersCondition,
|
|
64
|
+
SubscriptionsSearchFilter,
|
|
65
|
+
SubscriptionsSearchQuery,
|
|
66
|
+
SubscriptionsCondition,
|
|
67
|
+
PlansSearchFilter,
|
|
68
|
+
PlansSearchQuery,
|
|
69
|
+
PlansCondition,
|
|
70
|
+
InvoicesSearchFilter,
|
|
71
|
+
InvoicesSearchQuery,
|
|
72
|
+
InvoicesCondition
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
__all__ = [
|
|
76
|
+
"OrbConnector",
|
|
77
|
+
"OrbAuthConfig",
|
|
78
|
+
"Address",
|
|
79
|
+
"CustomerTaxId",
|
|
80
|
+
"Customer",
|
|
81
|
+
"PaginationMetadata",
|
|
82
|
+
"CustomersList",
|
|
83
|
+
"SubscriptionPlan",
|
|
84
|
+
"SubscriptionCustomer",
|
|
85
|
+
"Subscription",
|
|
86
|
+
"SubscriptionsList",
|
|
87
|
+
"PlanProduct",
|
|
88
|
+
"PlanPricesItem",
|
|
89
|
+
"Plan",
|
|
90
|
+
"PlansList",
|
|
91
|
+
"InvoiceLineItemsItem",
|
|
92
|
+
"InvoiceSubscription",
|
|
93
|
+
"InvoiceCustomer",
|
|
94
|
+
"Invoice",
|
|
95
|
+
"InvoicesList",
|
|
96
|
+
"CustomersListResultMeta",
|
|
97
|
+
"SubscriptionsListResultMeta",
|
|
98
|
+
"PlansListResultMeta",
|
|
99
|
+
"InvoicesListResultMeta",
|
|
100
|
+
"OrbCheckResult",
|
|
101
|
+
"OrbExecuteResult",
|
|
102
|
+
"OrbExecuteResultWithMeta",
|
|
103
|
+
"CustomersListResult",
|
|
104
|
+
"SubscriptionsListResult",
|
|
105
|
+
"PlansListResult",
|
|
106
|
+
"InvoicesListResult",
|
|
107
|
+
"AirbyteSearchHit",
|
|
108
|
+
"AirbyteSearchResult",
|
|
109
|
+
"CustomersSearchData",
|
|
110
|
+
"CustomersSearchResult",
|
|
111
|
+
"SubscriptionsSearchData",
|
|
112
|
+
"SubscriptionsSearchResult",
|
|
113
|
+
"PlansSearchData",
|
|
114
|
+
"PlansSearchResult",
|
|
115
|
+
"InvoicesSearchData",
|
|
116
|
+
"InvoicesSearchResult",
|
|
117
|
+
"CustomersListParams",
|
|
118
|
+
"CustomersGetParams",
|
|
119
|
+
"SubscriptionsListParams",
|
|
120
|
+
"SubscriptionsGetParams",
|
|
121
|
+
"PlansListParams",
|
|
122
|
+
"PlansGetParams",
|
|
123
|
+
"InvoicesListParams",
|
|
124
|
+
"InvoicesGetParams",
|
|
125
|
+
"AirbyteSearchParams",
|
|
126
|
+
"AirbyteSortOrder",
|
|
127
|
+
"CustomersSearchFilter",
|
|
128
|
+
"CustomersSearchQuery",
|
|
129
|
+
"CustomersCondition",
|
|
130
|
+
"SubscriptionsSearchFilter",
|
|
131
|
+
"SubscriptionsSearchQuery",
|
|
132
|
+
"SubscriptionsCondition",
|
|
133
|
+
"PlansSearchFilter",
|
|
134
|
+
"PlansSearchQuery",
|
|
135
|
+
"PlansCondition",
|
|
136
|
+
"InvoicesSearchFilter",
|
|
137
|
+
"InvoicesSearchQuery",
|
|
138
|
+
"InvoicesCondition",
|
|
139
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Vendored connector-sdk runtime."""
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Airbyte SDK - Async-first type-safe connector execution framework.
|
|
3
|
+
|
|
4
|
+
Provides:
|
|
5
|
+
- Async executor for all connectors
|
|
6
|
+
- Custom connector support
|
|
7
|
+
- Performance monitoring and instrumentation
|
|
8
|
+
- Connection pooling and concurrent execution
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
from .auth_strategies import AuthStrategy
|
|
14
|
+
from .connector_model_loader import load_connector_model
|
|
15
|
+
from .constants import SDK_VERSION
|
|
16
|
+
from .exceptions import (
|
|
17
|
+
AuthenticationError,
|
|
18
|
+
HTTPClientError,
|
|
19
|
+
NetworkError,
|
|
20
|
+
RateLimitError,
|
|
21
|
+
TimeoutError,
|
|
22
|
+
)
|
|
23
|
+
from .executor import (
|
|
24
|
+
ActionNotSupportedError,
|
|
25
|
+
EntityNotFoundError,
|
|
26
|
+
ExecutionConfig,
|
|
27
|
+
ExecutionResult,
|
|
28
|
+
ExecutorError,
|
|
29
|
+
ExecutorProtocol,
|
|
30
|
+
HostedExecutor,
|
|
31
|
+
InvalidParameterError,
|
|
32
|
+
LocalExecutor,
|
|
33
|
+
MissingParameterError,
|
|
34
|
+
)
|
|
35
|
+
from .http_client import HTTPClient
|
|
36
|
+
from .logging import LogSession, NullLogger, RequestLog, RequestLogger
|
|
37
|
+
from .performance import PerformanceMonitor, instrument
|
|
38
|
+
from .types import Action, AuthType, ConnectorModel, EntityDefinition
|
|
39
|
+
from .utils import save_download
|
|
40
|
+
|
|
41
|
+
__version__ = SDK_VERSION
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
# All Executors
|
|
45
|
+
"LocalExecutor",
|
|
46
|
+
"HostedExecutor",
|
|
47
|
+
"ExecutorProtocol",
|
|
48
|
+
"HTTPClient",
|
|
49
|
+
# Execution Config and Result Types
|
|
50
|
+
"ExecutionConfig",
|
|
51
|
+
"ExecutionResult",
|
|
52
|
+
# Types
|
|
53
|
+
"ConnectorModel",
|
|
54
|
+
"Action",
|
|
55
|
+
"AuthType",
|
|
56
|
+
"EntityDefinition",
|
|
57
|
+
"load_connector_model",
|
|
58
|
+
# Authentication
|
|
59
|
+
"AuthStrategy",
|
|
60
|
+
# Executor Exceptions
|
|
61
|
+
"ExecutorError",
|
|
62
|
+
"EntityNotFoundError",
|
|
63
|
+
"ActionNotSupportedError",
|
|
64
|
+
"MissingParameterError",
|
|
65
|
+
"InvalidParameterError",
|
|
66
|
+
# HTTP Exceptions
|
|
67
|
+
"HTTPClientError",
|
|
68
|
+
"AuthenticationError",
|
|
69
|
+
"RateLimitError",
|
|
70
|
+
"NetworkError",
|
|
71
|
+
"TimeoutError",
|
|
72
|
+
# Logging
|
|
73
|
+
"RequestLogger",
|
|
74
|
+
"NullLogger",
|
|
75
|
+
"RequestLog",
|
|
76
|
+
"LogSession",
|
|
77
|
+
# Performance monitoring
|
|
78
|
+
"PerformanceMonitor",
|
|
79
|
+
"instrument",
|
|
80
|
+
# Utilities
|
|
81
|
+
"save_download",
|
|
82
|
+
]
|