airbyte-agent-facebook-marketing 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_facebook_marketing/__init__.py +221 -0
- airbyte_agent_facebook_marketing/_vendored/__init__.py +1 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/auth_strategies.py +1171 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/connector_model_loader.py +1120 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/executor/hosted_executor.py +201 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/executor/local_executor.py +1854 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/executor/models.py +202 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/http_client.py +693 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/introspection.py +481 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/logging/logger.py +273 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/logging/types.py +93 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/base.py +201 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/components.py +244 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/extensions.py +301 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/operations.py +156 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/schema/security.py +236 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/types.py +270 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_facebook_marketing/_vendored/connector_sdk/validation.py +848 -0
- airbyte_agent_facebook_marketing/connector.py +1553 -0
- airbyte_agent_facebook_marketing/connector_model.py +3120 -0
- airbyte_agent_facebook_marketing/models.py +814 -0
- airbyte_agent_facebook_marketing/types.py +1957 -0
- airbyte_agent_facebook_marketing-0.1.0.dist-info/METADATA +148 -0
- airbyte_agent_facebook_marketing-0.1.0.dist-info/RECORD +57 -0
- airbyte_agent_facebook_marketing-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Facebook-Marketing connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import FacebookMarketingConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
FacebookMarketingAuthConfig,
|
|
10
|
+
IssueInfo,
|
|
11
|
+
AdLabel,
|
|
12
|
+
Campaign,
|
|
13
|
+
PagingCursors,
|
|
14
|
+
Paging,
|
|
15
|
+
CampaignsList,
|
|
16
|
+
AdSet,
|
|
17
|
+
AdSetsList,
|
|
18
|
+
Recommendation,
|
|
19
|
+
Ad,
|
|
20
|
+
AdsList,
|
|
21
|
+
AdCreative,
|
|
22
|
+
AdCreativesList,
|
|
23
|
+
AdsInsight,
|
|
24
|
+
AdsInsightsList,
|
|
25
|
+
DataSource,
|
|
26
|
+
CustomConversion,
|
|
27
|
+
CustomConversionsList,
|
|
28
|
+
Image,
|
|
29
|
+
ImagesList,
|
|
30
|
+
VideoFormat,
|
|
31
|
+
Video,
|
|
32
|
+
VideosList,
|
|
33
|
+
BidInfo,
|
|
34
|
+
BidConstraints,
|
|
35
|
+
LearningStageInfo,
|
|
36
|
+
PromotedObject,
|
|
37
|
+
AdCreativeRef,
|
|
38
|
+
CampaignsListResultMeta,
|
|
39
|
+
AdSetsListResultMeta,
|
|
40
|
+
AdsListResultMeta,
|
|
41
|
+
AdCreativesListResultMeta,
|
|
42
|
+
AdsInsightsListResultMeta,
|
|
43
|
+
CustomConversionsListResultMeta,
|
|
44
|
+
ImagesListResultMeta,
|
|
45
|
+
VideosListResultMeta,
|
|
46
|
+
FacebookMarketingCheckResult,
|
|
47
|
+
FacebookMarketingExecuteResult,
|
|
48
|
+
FacebookMarketingExecuteResultWithMeta,
|
|
49
|
+
CampaignsListResult,
|
|
50
|
+
AdSetsListResult,
|
|
51
|
+
AdsListResult,
|
|
52
|
+
AdCreativesListResult,
|
|
53
|
+
AdsInsightsListResult,
|
|
54
|
+
CustomConversionsListResult,
|
|
55
|
+
ImagesListResult,
|
|
56
|
+
VideosListResult,
|
|
57
|
+
AirbyteSearchHit,
|
|
58
|
+
AirbyteSearchResult,
|
|
59
|
+
CampaignsSearchData,
|
|
60
|
+
CampaignsSearchResult,
|
|
61
|
+
AdSetsSearchData,
|
|
62
|
+
AdSetsSearchResult,
|
|
63
|
+
AdsSearchData,
|
|
64
|
+
AdsSearchResult,
|
|
65
|
+
AdCreativesSearchData,
|
|
66
|
+
AdCreativesSearchResult,
|
|
67
|
+
AdsInsightsSearchData,
|
|
68
|
+
AdsInsightsSearchResult,
|
|
69
|
+
CustomConversionsSearchData,
|
|
70
|
+
CustomConversionsSearchResult,
|
|
71
|
+
ImagesSearchData,
|
|
72
|
+
ImagesSearchResult,
|
|
73
|
+
VideosSearchData,
|
|
74
|
+
VideosSearchResult
|
|
75
|
+
)
|
|
76
|
+
from .types import (
|
|
77
|
+
CampaignsListParams,
|
|
78
|
+
AdSetsListParams,
|
|
79
|
+
AdsListParams,
|
|
80
|
+
AdCreativesListParams,
|
|
81
|
+
AdsInsightsListParams,
|
|
82
|
+
CustomConversionsListParams,
|
|
83
|
+
ImagesListParams,
|
|
84
|
+
VideosListParams,
|
|
85
|
+
CampaignsGetParams,
|
|
86
|
+
AdSetsGetParams,
|
|
87
|
+
AdsGetParams,
|
|
88
|
+
AirbyteSearchParams,
|
|
89
|
+
AirbyteSortOrder,
|
|
90
|
+
CampaignsSearchFilter,
|
|
91
|
+
CampaignsSearchQuery,
|
|
92
|
+
CampaignsCondition,
|
|
93
|
+
AdSetsSearchFilter,
|
|
94
|
+
AdSetsSearchQuery,
|
|
95
|
+
AdSetsCondition,
|
|
96
|
+
AdsSearchFilter,
|
|
97
|
+
AdsSearchQuery,
|
|
98
|
+
AdsCondition,
|
|
99
|
+
AdCreativesSearchFilter,
|
|
100
|
+
AdCreativesSearchQuery,
|
|
101
|
+
AdCreativesCondition,
|
|
102
|
+
AdsInsightsSearchFilter,
|
|
103
|
+
AdsInsightsSearchQuery,
|
|
104
|
+
AdsInsightsCondition,
|
|
105
|
+
CustomConversionsSearchFilter,
|
|
106
|
+
CustomConversionsSearchQuery,
|
|
107
|
+
CustomConversionsCondition,
|
|
108
|
+
ImagesSearchFilter,
|
|
109
|
+
ImagesSearchQuery,
|
|
110
|
+
ImagesCondition,
|
|
111
|
+
VideosSearchFilter,
|
|
112
|
+
VideosSearchQuery,
|
|
113
|
+
VideosCondition
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
__all__ = [
|
|
117
|
+
"FacebookMarketingConnector",
|
|
118
|
+
"FacebookMarketingAuthConfig",
|
|
119
|
+
"IssueInfo",
|
|
120
|
+
"AdLabel",
|
|
121
|
+
"Campaign",
|
|
122
|
+
"PagingCursors",
|
|
123
|
+
"Paging",
|
|
124
|
+
"CampaignsList",
|
|
125
|
+
"AdSet",
|
|
126
|
+
"AdSetsList",
|
|
127
|
+
"Recommendation",
|
|
128
|
+
"Ad",
|
|
129
|
+
"AdsList",
|
|
130
|
+
"AdCreative",
|
|
131
|
+
"AdCreativesList",
|
|
132
|
+
"AdsInsight",
|
|
133
|
+
"AdsInsightsList",
|
|
134
|
+
"DataSource",
|
|
135
|
+
"CustomConversion",
|
|
136
|
+
"CustomConversionsList",
|
|
137
|
+
"Image",
|
|
138
|
+
"ImagesList",
|
|
139
|
+
"VideoFormat",
|
|
140
|
+
"Video",
|
|
141
|
+
"VideosList",
|
|
142
|
+
"BidInfo",
|
|
143
|
+
"BidConstraints",
|
|
144
|
+
"LearningStageInfo",
|
|
145
|
+
"PromotedObject",
|
|
146
|
+
"AdCreativeRef",
|
|
147
|
+
"CampaignsListResultMeta",
|
|
148
|
+
"AdSetsListResultMeta",
|
|
149
|
+
"AdsListResultMeta",
|
|
150
|
+
"AdCreativesListResultMeta",
|
|
151
|
+
"AdsInsightsListResultMeta",
|
|
152
|
+
"CustomConversionsListResultMeta",
|
|
153
|
+
"ImagesListResultMeta",
|
|
154
|
+
"VideosListResultMeta",
|
|
155
|
+
"FacebookMarketingCheckResult",
|
|
156
|
+
"FacebookMarketingExecuteResult",
|
|
157
|
+
"FacebookMarketingExecuteResultWithMeta",
|
|
158
|
+
"CampaignsListResult",
|
|
159
|
+
"AdSetsListResult",
|
|
160
|
+
"AdsListResult",
|
|
161
|
+
"AdCreativesListResult",
|
|
162
|
+
"AdsInsightsListResult",
|
|
163
|
+
"CustomConversionsListResult",
|
|
164
|
+
"ImagesListResult",
|
|
165
|
+
"VideosListResult",
|
|
166
|
+
"AirbyteSearchHit",
|
|
167
|
+
"AirbyteSearchResult",
|
|
168
|
+
"CampaignsSearchData",
|
|
169
|
+
"CampaignsSearchResult",
|
|
170
|
+
"AdSetsSearchData",
|
|
171
|
+
"AdSetsSearchResult",
|
|
172
|
+
"AdsSearchData",
|
|
173
|
+
"AdsSearchResult",
|
|
174
|
+
"AdCreativesSearchData",
|
|
175
|
+
"AdCreativesSearchResult",
|
|
176
|
+
"AdsInsightsSearchData",
|
|
177
|
+
"AdsInsightsSearchResult",
|
|
178
|
+
"CustomConversionsSearchData",
|
|
179
|
+
"CustomConversionsSearchResult",
|
|
180
|
+
"ImagesSearchData",
|
|
181
|
+
"ImagesSearchResult",
|
|
182
|
+
"VideosSearchData",
|
|
183
|
+
"VideosSearchResult",
|
|
184
|
+
"CampaignsListParams",
|
|
185
|
+
"AdSetsListParams",
|
|
186
|
+
"AdsListParams",
|
|
187
|
+
"AdCreativesListParams",
|
|
188
|
+
"AdsInsightsListParams",
|
|
189
|
+
"CustomConversionsListParams",
|
|
190
|
+
"ImagesListParams",
|
|
191
|
+
"VideosListParams",
|
|
192
|
+
"CampaignsGetParams",
|
|
193
|
+
"AdSetsGetParams",
|
|
194
|
+
"AdsGetParams",
|
|
195
|
+
"AirbyteSearchParams",
|
|
196
|
+
"AirbyteSortOrder",
|
|
197
|
+
"CampaignsSearchFilter",
|
|
198
|
+
"CampaignsSearchQuery",
|
|
199
|
+
"CampaignsCondition",
|
|
200
|
+
"AdSetsSearchFilter",
|
|
201
|
+
"AdSetsSearchQuery",
|
|
202
|
+
"AdSetsCondition",
|
|
203
|
+
"AdsSearchFilter",
|
|
204
|
+
"AdsSearchQuery",
|
|
205
|
+
"AdsCondition",
|
|
206
|
+
"AdCreativesSearchFilter",
|
|
207
|
+
"AdCreativesSearchQuery",
|
|
208
|
+
"AdCreativesCondition",
|
|
209
|
+
"AdsInsightsSearchFilter",
|
|
210
|
+
"AdsInsightsSearchQuery",
|
|
211
|
+
"AdsInsightsCondition",
|
|
212
|
+
"CustomConversionsSearchFilter",
|
|
213
|
+
"CustomConversionsSearchQuery",
|
|
214
|
+
"CustomConversionsCondition",
|
|
215
|
+
"ImagesSearchFilter",
|
|
216
|
+
"ImagesSearchQuery",
|
|
217
|
+
"ImagesCondition",
|
|
218
|
+
"VideosSearchFilter",
|
|
219
|
+
"VideosSearchQuery",
|
|
220
|
+
"VideosCondition",
|
|
221
|
+
]
|
|
@@ -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
|
+
]
|