airbyte-agent-salesforce 0.1.17__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_salesforce/__init__.py +87 -0
- airbyte_agent_salesforce/_vendored/__init__.py +1 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/auth_strategies.py +1123 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/connector_model_loader.py +957 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/executor/hosted_executor.py +197 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/executor/local_executor.py +1504 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/extensions.py +655 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http/response.py +102 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/http_client.py +686 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/observability/session.py +94 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/base.py +161 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/components.py +238 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/connector.py +131 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/extensions.py +109 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/schema/security.py +213 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/telemetry/events.py +58 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/telemetry/tracker.py +151 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/types.py +241 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_salesforce/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_salesforce/connector.py +1862 -0
- airbyte_agent_salesforce/connector_model.py +1597 -0
- airbyte_agent_salesforce/models.py +365 -0
- airbyte_agent_salesforce/types.py +166 -0
- airbyte_agent_salesforce-0.1.17.dist-info/METADATA +113 -0
- airbyte_agent_salesforce-0.1.17.dist-info/RECORD +55 -0
- airbyte_agent_salesforce-0.1.17.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Salesforce connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import SalesforceConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
SalesforceAuthConfig,
|
|
10
|
+
AccountAttributes,
|
|
11
|
+
Account,
|
|
12
|
+
AccountQueryResult,
|
|
13
|
+
ContactAttributes,
|
|
14
|
+
Contact,
|
|
15
|
+
ContactQueryResult,
|
|
16
|
+
LeadAttributes,
|
|
17
|
+
Lead,
|
|
18
|
+
LeadQueryResult,
|
|
19
|
+
OpportunityAttributes,
|
|
20
|
+
Opportunity,
|
|
21
|
+
OpportunityQueryResult,
|
|
22
|
+
TaskAttributes,
|
|
23
|
+
Task,
|
|
24
|
+
TaskQueryResult,
|
|
25
|
+
EventAttributes,
|
|
26
|
+
Event,
|
|
27
|
+
EventQueryResult,
|
|
28
|
+
CampaignAttributes,
|
|
29
|
+
Campaign,
|
|
30
|
+
CampaignQueryResult,
|
|
31
|
+
CaseAttributes,
|
|
32
|
+
Case,
|
|
33
|
+
CaseQueryResult,
|
|
34
|
+
NoteAttributes,
|
|
35
|
+
Note,
|
|
36
|
+
NoteQueryResult,
|
|
37
|
+
ContentVersionAttributes,
|
|
38
|
+
ContentVersion,
|
|
39
|
+
ContentVersionQueryResult,
|
|
40
|
+
AttachmentAttributes,
|
|
41
|
+
Attachment,
|
|
42
|
+
AttachmentQueryResult,
|
|
43
|
+
QueryResult,
|
|
44
|
+
SearchResultSearchrecordsItemAttributes,
|
|
45
|
+
SearchResultSearchrecordsItem,
|
|
46
|
+
SearchResult,
|
|
47
|
+
SalesforceExecuteResult,
|
|
48
|
+
SalesforceExecuteResultWithMeta
|
|
49
|
+
)
|
|
50
|
+
from .types import (
|
|
51
|
+
AccountsListParams,
|
|
52
|
+
AccountsGetParams,
|
|
53
|
+
AccountsSearchParams,
|
|
54
|
+
ContactsListParams,
|
|
55
|
+
ContactsGetParams,
|
|
56
|
+
ContactsSearchParams,
|
|
57
|
+
LeadsListParams,
|
|
58
|
+
LeadsGetParams,
|
|
59
|
+
LeadsSearchParams,
|
|
60
|
+
OpportunitiesListParams,
|
|
61
|
+
OpportunitiesGetParams,
|
|
62
|
+
OpportunitiesSearchParams,
|
|
63
|
+
TasksListParams,
|
|
64
|
+
TasksGetParams,
|
|
65
|
+
TasksSearchParams,
|
|
66
|
+
EventsListParams,
|
|
67
|
+
EventsGetParams,
|
|
68
|
+
EventsSearchParams,
|
|
69
|
+
CampaignsListParams,
|
|
70
|
+
CampaignsGetParams,
|
|
71
|
+
CampaignsSearchParams,
|
|
72
|
+
CasesListParams,
|
|
73
|
+
CasesGetParams,
|
|
74
|
+
CasesSearchParams,
|
|
75
|
+
NotesListParams,
|
|
76
|
+
NotesGetParams,
|
|
77
|
+
NotesSearchParams,
|
|
78
|
+
ContentVersionsListParams,
|
|
79
|
+
ContentVersionsGetParams,
|
|
80
|
+
ContentVersionsDownloadParams,
|
|
81
|
+
AttachmentsListParams,
|
|
82
|
+
AttachmentsGetParams,
|
|
83
|
+
AttachmentsDownloadParams,
|
|
84
|
+
QueryListParams
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
__all__ = ["SalesforceConnector", "SalesforceAuthConfig", "AccountAttributes", "Account", "AccountQueryResult", "ContactAttributes", "Contact", "ContactQueryResult", "LeadAttributes", "Lead", "LeadQueryResult", "OpportunityAttributes", "Opportunity", "OpportunityQueryResult", "TaskAttributes", "Task", "TaskQueryResult", "EventAttributes", "Event", "EventQueryResult", "CampaignAttributes", "Campaign", "CampaignQueryResult", "CaseAttributes", "Case", "CaseQueryResult", "NoteAttributes", "Note", "NoteQueryResult", "ContentVersionAttributes", "ContentVersion", "ContentVersionQueryResult", "AttachmentAttributes", "Attachment", "AttachmentQueryResult", "QueryResult", "SearchResultSearchrecordsItemAttributes", "SearchResultSearchrecordsItem", "SearchResult", "SalesforceExecuteResult", "SalesforceExecuteResultWithMeta", "AccountsListParams", "AccountsGetParams", "AccountsSearchParams", "ContactsListParams", "ContactsGetParams", "ContactsSearchParams", "LeadsListParams", "LeadsGetParams", "LeadsSearchParams", "OpportunitiesListParams", "OpportunitiesGetParams", "OpportunitiesSearchParams", "TasksListParams", "TasksGetParams", "TasksSearchParams", "EventsListParams", "EventsGetParams", "EventsSearchParams", "CampaignsListParams", "CampaignsGetParams", "CampaignsSearchParams", "CasesListParams", "CasesGetParams", "CasesSearchParams", "NotesListParams", "NotesGetParams", "NotesSearchParams", "ContentVersionsListParams", "ContentVersionsGetParams", "ContentVersionsDownloadParams", "AttachmentsListParams", "AttachmentsGetParams", "AttachmentsDownloadParams", "QueryListParams"]
|
|
@@ -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
|
+
]
|