airbyte-agent-klaviyo 0.1.0__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_klaviyo/__init__.py +225 -0
- airbyte_agent_klaviyo/_vendored/__init__.py +1 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/auth_strategies.py +1171 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/connector_model_loader.py +1120 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/executor/hosted_executor.py +201 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/executor/local_executor.py +1854 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/executor/models.py +202 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/http_client.py +693 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/introspection.py +481 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/logging/logger.py +273 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/logging/types.py +93 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/base.py +201 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/components.py +244 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/extensions.py +301 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/operations.py +156 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/schema/security.py +236 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/types.py +270 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_klaviyo/_vendored/connector_sdk/validation.py +848 -0
- airbyte_agent_klaviyo/connector.py +1431 -0
- airbyte_agent_klaviyo/connector_model.py +2230 -0
- airbyte_agent_klaviyo/models.py +676 -0
- airbyte_agent_klaviyo/types.py +1319 -0
- airbyte_agent_klaviyo-0.1.0.dist-info/METADATA +151 -0
- airbyte_agent_klaviyo-0.1.0.dist-info/RECORD +57 -0
- airbyte_agent_klaviyo-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Klaviyo connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import KlaviyoConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
KlaviyoAuthConfig,
|
|
10
|
+
ProfileLinks,
|
|
11
|
+
ProfileAttributesLocation,
|
|
12
|
+
ProfileAttributes,
|
|
13
|
+
Profile,
|
|
14
|
+
ProfilesListLinks,
|
|
15
|
+
ProfilesList,
|
|
16
|
+
ListAttributes,
|
|
17
|
+
ListLinks,
|
|
18
|
+
List,
|
|
19
|
+
ListsListLinks,
|
|
20
|
+
ListsList,
|
|
21
|
+
CampaignAttributes,
|
|
22
|
+
CampaignLinks,
|
|
23
|
+
Campaign,
|
|
24
|
+
CampaignsListLinks,
|
|
25
|
+
CampaignsList,
|
|
26
|
+
EventRelationshipsProfileData,
|
|
27
|
+
EventRelationshipsProfile,
|
|
28
|
+
EventRelationshipsMetricData,
|
|
29
|
+
EventRelationshipsMetric,
|
|
30
|
+
EventRelationships,
|
|
31
|
+
EventLinks,
|
|
32
|
+
EventAttributes,
|
|
33
|
+
Event,
|
|
34
|
+
EventsListLinks,
|
|
35
|
+
EventsList,
|
|
36
|
+
MetricLinks,
|
|
37
|
+
MetricAttributesIntegration,
|
|
38
|
+
MetricAttributes,
|
|
39
|
+
Metric,
|
|
40
|
+
MetricsListLinks,
|
|
41
|
+
MetricsList,
|
|
42
|
+
FlowLinks,
|
|
43
|
+
FlowAttributes,
|
|
44
|
+
Flow,
|
|
45
|
+
FlowsListLinks,
|
|
46
|
+
FlowsList,
|
|
47
|
+
TemplateLinks,
|
|
48
|
+
TemplateAttributes,
|
|
49
|
+
Template,
|
|
50
|
+
TemplatesListLinks,
|
|
51
|
+
TemplatesList,
|
|
52
|
+
KlaviyoCheckResult,
|
|
53
|
+
KlaviyoExecuteResult,
|
|
54
|
+
KlaviyoExecuteResultWithMeta,
|
|
55
|
+
ProfilesListResult,
|
|
56
|
+
ListsListResult,
|
|
57
|
+
CampaignsListResult,
|
|
58
|
+
EventsListResult,
|
|
59
|
+
MetricsListResult,
|
|
60
|
+
FlowsListResult,
|
|
61
|
+
EmailTemplatesListResult,
|
|
62
|
+
AirbyteSearchHit,
|
|
63
|
+
AirbyteSearchResult,
|
|
64
|
+
ProfilesSearchData,
|
|
65
|
+
ProfilesSearchResult,
|
|
66
|
+
EventsSearchData,
|
|
67
|
+
EventsSearchResult,
|
|
68
|
+
EmailTemplatesSearchData,
|
|
69
|
+
EmailTemplatesSearchResult,
|
|
70
|
+
CampaignsSearchData,
|
|
71
|
+
CampaignsSearchResult,
|
|
72
|
+
FlowsSearchData,
|
|
73
|
+
FlowsSearchResult,
|
|
74
|
+
MetricsSearchData,
|
|
75
|
+
MetricsSearchResult,
|
|
76
|
+
ListsSearchData,
|
|
77
|
+
ListsSearchResult
|
|
78
|
+
)
|
|
79
|
+
from .types import (
|
|
80
|
+
ProfilesListParams,
|
|
81
|
+
ProfilesGetParams,
|
|
82
|
+
ListsListParams,
|
|
83
|
+
ListsGetParams,
|
|
84
|
+
CampaignsListParams,
|
|
85
|
+
CampaignsGetParams,
|
|
86
|
+
EventsListParams,
|
|
87
|
+
MetricsListParams,
|
|
88
|
+
MetricsGetParams,
|
|
89
|
+
FlowsListParams,
|
|
90
|
+
FlowsGetParams,
|
|
91
|
+
EmailTemplatesListParams,
|
|
92
|
+
EmailTemplatesGetParams,
|
|
93
|
+
AirbyteSearchParams,
|
|
94
|
+
AirbyteSortOrder,
|
|
95
|
+
ProfilesSearchFilter,
|
|
96
|
+
ProfilesSearchQuery,
|
|
97
|
+
ProfilesCondition,
|
|
98
|
+
EventsSearchFilter,
|
|
99
|
+
EventsSearchQuery,
|
|
100
|
+
EventsCondition,
|
|
101
|
+
EmailTemplatesSearchFilter,
|
|
102
|
+
EmailTemplatesSearchQuery,
|
|
103
|
+
EmailTemplatesCondition,
|
|
104
|
+
CampaignsSearchFilter,
|
|
105
|
+
CampaignsSearchQuery,
|
|
106
|
+
CampaignsCondition,
|
|
107
|
+
FlowsSearchFilter,
|
|
108
|
+
FlowsSearchQuery,
|
|
109
|
+
FlowsCondition,
|
|
110
|
+
MetricsSearchFilter,
|
|
111
|
+
MetricsSearchQuery,
|
|
112
|
+
MetricsCondition,
|
|
113
|
+
ListsSearchFilter,
|
|
114
|
+
ListsSearchQuery,
|
|
115
|
+
ListsCondition
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
__all__ = [
|
|
119
|
+
"KlaviyoConnector",
|
|
120
|
+
"KlaviyoAuthConfig",
|
|
121
|
+
"ProfileLinks",
|
|
122
|
+
"ProfileAttributesLocation",
|
|
123
|
+
"ProfileAttributes",
|
|
124
|
+
"Profile",
|
|
125
|
+
"ProfilesListLinks",
|
|
126
|
+
"ProfilesList",
|
|
127
|
+
"ListAttributes",
|
|
128
|
+
"ListLinks",
|
|
129
|
+
"List",
|
|
130
|
+
"ListsListLinks",
|
|
131
|
+
"ListsList",
|
|
132
|
+
"CampaignAttributes",
|
|
133
|
+
"CampaignLinks",
|
|
134
|
+
"Campaign",
|
|
135
|
+
"CampaignsListLinks",
|
|
136
|
+
"CampaignsList",
|
|
137
|
+
"EventRelationshipsProfileData",
|
|
138
|
+
"EventRelationshipsProfile",
|
|
139
|
+
"EventRelationshipsMetricData",
|
|
140
|
+
"EventRelationshipsMetric",
|
|
141
|
+
"EventRelationships",
|
|
142
|
+
"EventLinks",
|
|
143
|
+
"EventAttributes",
|
|
144
|
+
"Event",
|
|
145
|
+
"EventsListLinks",
|
|
146
|
+
"EventsList",
|
|
147
|
+
"MetricLinks",
|
|
148
|
+
"MetricAttributesIntegration",
|
|
149
|
+
"MetricAttributes",
|
|
150
|
+
"Metric",
|
|
151
|
+
"MetricsListLinks",
|
|
152
|
+
"MetricsList",
|
|
153
|
+
"FlowLinks",
|
|
154
|
+
"FlowAttributes",
|
|
155
|
+
"Flow",
|
|
156
|
+
"FlowsListLinks",
|
|
157
|
+
"FlowsList",
|
|
158
|
+
"TemplateLinks",
|
|
159
|
+
"TemplateAttributes",
|
|
160
|
+
"Template",
|
|
161
|
+
"TemplatesListLinks",
|
|
162
|
+
"TemplatesList",
|
|
163
|
+
"KlaviyoCheckResult",
|
|
164
|
+
"KlaviyoExecuteResult",
|
|
165
|
+
"KlaviyoExecuteResultWithMeta",
|
|
166
|
+
"ProfilesListResult",
|
|
167
|
+
"ListsListResult",
|
|
168
|
+
"CampaignsListResult",
|
|
169
|
+
"EventsListResult",
|
|
170
|
+
"MetricsListResult",
|
|
171
|
+
"FlowsListResult",
|
|
172
|
+
"EmailTemplatesListResult",
|
|
173
|
+
"AirbyteSearchHit",
|
|
174
|
+
"AirbyteSearchResult",
|
|
175
|
+
"ProfilesSearchData",
|
|
176
|
+
"ProfilesSearchResult",
|
|
177
|
+
"EventsSearchData",
|
|
178
|
+
"EventsSearchResult",
|
|
179
|
+
"EmailTemplatesSearchData",
|
|
180
|
+
"EmailTemplatesSearchResult",
|
|
181
|
+
"CampaignsSearchData",
|
|
182
|
+
"CampaignsSearchResult",
|
|
183
|
+
"FlowsSearchData",
|
|
184
|
+
"FlowsSearchResult",
|
|
185
|
+
"MetricsSearchData",
|
|
186
|
+
"MetricsSearchResult",
|
|
187
|
+
"ListsSearchData",
|
|
188
|
+
"ListsSearchResult",
|
|
189
|
+
"ProfilesListParams",
|
|
190
|
+
"ProfilesGetParams",
|
|
191
|
+
"ListsListParams",
|
|
192
|
+
"ListsGetParams",
|
|
193
|
+
"CampaignsListParams",
|
|
194
|
+
"CampaignsGetParams",
|
|
195
|
+
"EventsListParams",
|
|
196
|
+
"MetricsListParams",
|
|
197
|
+
"MetricsGetParams",
|
|
198
|
+
"FlowsListParams",
|
|
199
|
+
"FlowsGetParams",
|
|
200
|
+
"EmailTemplatesListParams",
|
|
201
|
+
"EmailTemplatesGetParams",
|
|
202
|
+
"AirbyteSearchParams",
|
|
203
|
+
"AirbyteSortOrder",
|
|
204
|
+
"ProfilesSearchFilter",
|
|
205
|
+
"ProfilesSearchQuery",
|
|
206
|
+
"ProfilesCondition",
|
|
207
|
+
"EventsSearchFilter",
|
|
208
|
+
"EventsSearchQuery",
|
|
209
|
+
"EventsCondition",
|
|
210
|
+
"EmailTemplatesSearchFilter",
|
|
211
|
+
"EmailTemplatesSearchQuery",
|
|
212
|
+
"EmailTemplatesCondition",
|
|
213
|
+
"CampaignsSearchFilter",
|
|
214
|
+
"CampaignsSearchQuery",
|
|
215
|
+
"CampaignsCondition",
|
|
216
|
+
"FlowsSearchFilter",
|
|
217
|
+
"FlowsSearchQuery",
|
|
218
|
+
"FlowsCondition",
|
|
219
|
+
"MetricsSearchFilter",
|
|
220
|
+
"MetricsSearchQuery",
|
|
221
|
+
"MetricsCondition",
|
|
222
|
+
"ListsSearchFilter",
|
|
223
|
+
"ListsSearchQuery",
|
|
224
|
+
"ListsCondition",
|
|
225
|
+
]
|
|
@@ -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
|
+
]
|