airbyte-agent-mailchimp 0.1.4__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_mailchimp/__init__.py +217 -0
- airbyte_agent_mailchimp/_vendored/__init__.py +1 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/auth_strategies.py +1120 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/connector_model_loader.py +965 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/executor/local_executor.py +1641 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/http_client.py +686 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/base.py +164 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/components.py +239 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/extensions.py +230 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/schema/security.py +223 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/types.py +245 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_mailchimp/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_mailchimp/connector.py +1378 -0
- airbyte_agent_mailchimp/connector_model.py +4749 -0
- airbyte_agent_mailchimp/models.py +956 -0
- airbyte_agent_mailchimp/types.py +164 -0
- airbyte_agent_mailchimp-0.1.4.dist-info/METADATA +119 -0
- airbyte_agent_mailchimp-0.1.4.dist-info/RECORD +57 -0
- airbyte_agent_mailchimp-0.1.4.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Mailchimp connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import MailchimpConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
MailchimpAuthConfig,
|
|
10
|
+
CampaignRecipients,
|
|
11
|
+
CampaignTracking,
|
|
12
|
+
CampaignSettings,
|
|
13
|
+
CampaignDeliveryStatus,
|
|
14
|
+
CampaignReportSummaryEcommerce,
|
|
15
|
+
CampaignReportSummary,
|
|
16
|
+
Campaign,
|
|
17
|
+
CampaignsList,
|
|
18
|
+
ListCampaignDefaults,
|
|
19
|
+
ListContact,
|
|
20
|
+
ListStats,
|
|
21
|
+
List,
|
|
22
|
+
ListsList,
|
|
23
|
+
ListMemberStatsEcommerceData,
|
|
24
|
+
ListMemberStats,
|
|
25
|
+
ListMemberLocation,
|
|
26
|
+
ListMemberTagsItem,
|
|
27
|
+
ListMember,
|
|
28
|
+
ListMembersList,
|
|
29
|
+
ReportListStats,
|
|
30
|
+
ReportEcommerce,
|
|
31
|
+
ReportFacebookLikes,
|
|
32
|
+
ReportIndustryStats,
|
|
33
|
+
ReportOpens,
|
|
34
|
+
ReportBounces,
|
|
35
|
+
ReportDeliveryStatus,
|
|
36
|
+
ReportForwards,
|
|
37
|
+
ReportClicks,
|
|
38
|
+
Report,
|
|
39
|
+
ReportsList,
|
|
40
|
+
EmailActivityActivityItem,
|
|
41
|
+
EmailActivity,
|
|
42
|
+
EmailActivityList,
|
|
43
|
+
AutomationReportSummary,
|
|
44
|
+
AutomationTracking,
|
|
45
|
+
AutomationRecipientsSegmentOpts,
|
|
46
|
+
AutomationRecipients,
|
|
47
|
+
AutomationSettings,
|
|
48
|
+
Automation,
|
|
49
|
+
AutomationsList,
|
|
50
|
+
Tag,
|
|
51
|
+
TagsList,
|
|
52
|
+
InterestCategory,
|
|
53
|
+
InterestCategoriesList,
|
|
54
|
+
Interest,
|
|
55
|
+
InterestsList,
|
|
56
|
+
SegmentOptions,
|
|
57
|
+
Segment,
|
|
58
|
+
SegmentsList,
|
|
59
|
+
SegmentMemberStats,
|
|
60
|
+
SegmentMemberLocation,
|
|
61
|
+
SegmentMember,
|
|
62
|
+
SegmentMembersList,
|
|
63
|
+
Unsubscribe,
|
|
64
|
+
UnsubscribesList,
|
|
65
|
+
CampaignsListResultMeta,
|
|
66
|
+
ListsListResultMeta,
|
|
67
|
+
ListMembersListResultMeta,
|
|
68
|
+
ReportsListResultMeta,
|
|
69
|
+
EmailActivityListResultMeta,
|
|
70
|
+
AutomationsListResultMeta,
|
|
71
|
+
TagsListResultMeta,
|
|
72
|
+
InterestCategoriesListResultMeta,
|
|
73
|
+
InterestsListResultMeta,
|
|
74
|
+
SegmentsListResultMeta,
|
|
75
|
+
SegmentMembersListResultMeta,
|
|
76
|
+
UnsubscribesListResultMeta,
|
|
77
|
+
MailchimpExecuteResult,
|
|
78
|
+
MailchimpExecuteResultWithMeta,
|
|
79
|
+
CampaignsListResult,
|
|
80
|
+
ListsListResult,
|
|
81
|
+
ListMembersListResult,
|
|
82
|
+
ReportsListResult,
|
|
83
|
+
EmailActivityListResult,
|
|
84
|
+
AutomationsListResult,
|
|
85
|
+
TagsListResult,
|
|
86
|
+
InterestCategoriesListResult,
|
|
87
|
+
InterestsListResult,
|
|
88
|
+
SegmentsListResult,
|
|
89
|
+
SegmentMembersListResult,
|
|
90
|
+
UnsubscribesListResult
|
|
91
|
+
)
|
|
92
|
+
from .types import (
|
|
93
|
+
CampaignsListParams,
|
|
94
|
+
CampaignsGetParams,
|
|
95
|
+
ListsListParams,
|
|
96
|
+
ListsGetParams,
|
|
97
|
+
ListMembersListParams,
|
|
98
|
+
ListMembersGetParams,
|
|
99
|
+
ReportsListParams,
|
|
100
|
+
ReportsGetParams,
|
|
101
|
+
EmailActivityListParams,
|
|
102
|
+
AutomationsListParams,
|
|
103
|
+
TagsListParams,
|
|
104
|
+
InterestCategoriesListParams,
|
|
105
|
+
InterestCategoriesGetParams,
|
|
106
|
+
InterestsListParams,
|
|
107
|
+
InterestsGetParams,
|
|
108
|
+
SegmentsListParams,
|
|
109
|
+
SegmentsGetParams,
|
|
110
|
+
SegmentMembersListParams,
|
|
111
|
+
UnsubscribesListParams
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
__all__ = [
|
|
115
|
+
"MailchimpConnector",
|
|
116
|
+
"MailchimpAuthConfig",
|
|
117
|
+
"CampaignRecipients",
|
|
118
|
+
"CampaignTracking",
|
|
119
|
+
"CampaignSettings",
|
|
120
|
+
"CampaignDeliveryStatus",
|
|
121
|
+
"CampaignReportSummaryEcommerce",
|
|
122
|
+
"CampaignReportSummary",
|
|
123
|
+
"Campaign",
|
|
124
|
+
"CampaignsList",
|
|
125
|
+
"ListCampaignDefaults",
|
|
126
|
+
"ListContact",
|
|
127
|
+
"ListStats",
|
|
128
|
+
"List",
|
|
129
|
+
"ListsList",
|
|
130
|
+
"ListMemberStatsEcommerceData",
|
|
131
|
+
"ListMemberStats",
|
|
132
|
+
"ListMemberLocation",
|
|
133
|
+
"ListMemberTagsItem",
|
|
134
|
+
"ListMember",
|
|
135
|
+
"ListMembersList",
|
|
136
|
+
"ReportListStats",
|
|
137
|
+
"ReportEcommerce",
|
|
138
|
+
"ReportFacebookLikes",
|
|
139
|
+
"ReportIndustryStats",
|
|
140
|
+
"ReportOpens",
|
|
141
|
+
"ReportBounces",
|
|
142
|
+
"ReportDeliveryStatus",
|
|
143
|
+
"ReportForwards",
|
|
144
|
+
"ReportClicks",
|
|
145
|
+
"Report",
|
|
146
|
+
"ReportsList",
|
|
147
|
+
"EmailActivityActivityItem",
|
|
148
|
+
"EmailActivity",
|
|
149
|
+
"EmailActivityList",
|
|
150
|
+
"AutomationReportSummary",
|
|
151
|
+
"AutomationTracking",
|
|
152
|
+
"AutomationRecipientsSegmentOpts",
|
|
153
|
+
"AutomationRecipients",
|
|
154
|
+
"AutomationSettings",
|
|
155
|
+
"Automation",
|
|
156
|
+
"AutomationsList",
|
|
157
|
+
"Tag",
|
|
158
|
+
"TagsList",
|
|
159
|
+
"InterestCategory",
|
|
160
|
+
"InterestCategoriesList",
|
|
161
|
+
"Interest",
|
|
162
|
+
"InterestsList",
|
|
163
|
+
"SegmentOptions",
|
|
164
|
+
"Segment",
|
|
165
|
+
"SegmentsList",
|
|
166
|
+
"SegmentMemberStats",
|
|
167
|
+
"SegmentMemberLocation",
|
|
168
|
+
"SegmentMember",
|
|
169
|
+
"SegmentMembersList",
|
|
170
|
+
"Unsubscribe",
|
|
171
|
+
"UnsubscribesList",
|
|
172
|
+
"CampaignsListResultMeta",
|
|
173
|
+
"ListsListResultMeta",
|
|
174
|
+
"ListMembersListResultMeta",
|
|
175
|
+
"ReportsListResultMeta",
|
|
176
|
+
"EmailActivityListResultMeta",
|
|
177
|
+
"AutomationsListResultMeta",
|
|
178
|
+
"TagsListResultMeta",
|
|
179
|
+
"InterestCategoriesListResultMeta",
|
|
180
|
+
"InterestsListResultMeta",
|
|
181
|
+
"SegmentsListResultMeta",
|
|
182
|
+
"SegmentMembersListResultMeta",
|
|
183
|
+
"UnsubscribesListResultMeta",
|
|
184
|
+
"MailchimpExecuteResult",
|
|
185
|
+
"MailchimpExecuteResultWithMeta",
|
|
186
|
+
"CampaignsListResult",
|
|
187
|
+
"ListsListResult",
|
|
188
|
+
"ListMembersListResult",
|
|
189
|
+
"ReportsListResult",
|
|
190
|
+
"EmailActivityListResult",
|
|
191
|
+
"AutomationsListResult",
|
|
192
|
+
"TagsListResult",
|
|
193
|
+
"InterestCategoriesListResult",
|
|
194
|
+
"InterestsListResult",
|
|
195
|
+
"SegmentsListResult",
|
|
196
|
+
"SegmentMembersListResult",
|
|
197
|
+
"UnsubscribesListResult",
|
|
198
|
+
"CampaignsListParams",
|
|
199
|
+
"CampaignsGetParams",
|
|
200
|
+
"ListsListParams",
|
|
201
|
+
"ListsGetParams",
|
|
202
|
+
"ListMembersListParams",
|
|
203
|
+
"ListMembersGetParams",
|
|
204
|
+
"ReportsListParams",
|
|
205
|
+
"ReportsGetParams",
|
|
206
|
+
"EmailActivityListParams",
|
|
207
|
+
"AutomationsListParams",
|
|
208
|
+
"TagsListParams",
|
|
209
|
+
"InterestCategoriesListParams",
|
|
210
|
+
"InterestCategoriesGetParams",
|
|
211
|
+
"InterestsListParams",
|
|
212
|
+
"InterestsGetParams",
|
|
213
|
+
"SegmentsListParams",
|
|
214
|
+
"SegmentsGetParams",
|
|
215
|
+
"SegmentMembersListParams",
|
|
216
|
+
"UnsubscribesListParams",
|
|
217
|
+
]
|
|
@@ -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
|
+
]
|