airbyte-agent-slack 0.1.22__tar.gz → 0.1.23__tar.gz
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_slack-0.1.22 → airbyte_agent_slack-0.1.23}/CHANGELOG.md +5 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/PKG-INFO +3 -3
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/README.md +2 -2
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/__init__.py +4 -4
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +54 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/pyproject.toml +1 -1
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/.gitignore +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/AUTH.md +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/REFERENCE.md +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/connector.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/connector_model.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/models.py +23 -23
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/types.py +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Slack changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.23] - 2026-01-26
|
|
4
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
5
|
+
- Source commit: b73c71e0
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
3
8
|
## [0.1.22] - 2026-01-24
|
|
4
9
|
- Updated connector definition (YAML version 0.1.8)
|
|
5
10
|
- Source commit: 609c1d86
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-slack
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.23
|
|
4
4
|
Summary: Airbyte Slack Connector for AI platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
6
|
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
@@ -158,6 +158,6 @@ For the service's official API docs, see the [Slack API reference](https://api.s
|
|
|
158
158
|
|
|
159
159
|
## Version information
|
|
160
160
|
|
|
161
|
-
- **Package version:** 0.1.
|
|
161
|
+
- **Package version:** 0.1.23
|
|
162
162
|
- **Connector version:** 0.1.8
|
|
163
|
-
- **Generated with Connector SDK commit SHA:**
|
|
163
|
+
- **Generated with Connector SDK commit SHA:** b73c71e077aea8d316f7161dbd5014d4fb9f3098
|
|
@@ -125,6 +125,6 @@ For the service's official API docs, see the [Slack API reference](https://api.s
|
|
|
125
125
|
|
|
126
126
|
## Version information
|
|
127
127
|
|
|
128
|
-
- **Package version:** 0.1.
|
|
128
|
+
- **Package version:** 0.1.23
|
|
129
129
|
- **Connector version:** 0.1.8
|
|
130
|
-
- **Generated with Connector SDK commit SHA:**
|
|
130
|
+
- **Generated with Connector SDK commit SHA:** b73c71e077aea8d316f7161dbd5014d4fb9f3098
|
|
@@ -17,9 +17,9 @@ from .models import (
|
|
|
17
17
|
ChannelPurpose,
|
|
18
18
|
ChannelsListResponse,
|
|
19
19
|
ChannelResponse,
|
|
20
|
-
Reaction,
|
|
21
|
-
File,
|
|
22
20
|
Attachment,
|
|
21
|
+
File,
|
|
22
|
+
Reaction,
|
|
23
23
|
Message,
|
|
24
24
|
Thread,
|
|
25
25
|
EditedInfo,
|
|
@@ -95,9 +95,9 @@ __all__ = [
|
|
|
95
95
|
"ChannelPurpose",
|
|
96
96
|
"ChannelsListResponse",
|
|
97
97
|
"ChannelResponse",
|
|
98
|
-
"Reaction",
|
|
99
|
-
"File",
|
|
100
98
|
"Attachment",
|
|
99
|
+
"File",
|
|
100
|
+
"Reaction",
|
|
101
101
|
"Message",
|
|
102
102
|
"Thread",
|
|
103
103
|
"EditedInfo",
|
|
@@ -62,6 +62,53 @@ class TokenExtractValidationError(ConnectorModelLoaderError):
|
|
|
62
62
|
pass
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
# Expected auth_mapping keys for each auth type.
|
|
66
|
+
# These are the auth parameters that each security scheme expects, NOT the user's credential field names.
|
|
67
|
+
EXPECTED_AUTH_MAPPING_KEYS: dict[AuthType, set[str]] = {
|
|
68
|
+
AuthType.BEARER: {"token"},
|
|
69
|
+
AuthType.BASIC: {"username", "password"},
|
|
70
|
+
AuthType.API_KEY: {"api_key"},
|
|
71
|
+
AuthType.OAUTH2: {"access_token", "refresh_token", "client_id", "client_secret"},
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _validate_auth_mapping_keys(
|
|
76
|
+
auth_type: AuthType,
|
|
77
|
+
auth_config: AirbyteAuthConfig | None,
|
|
78
|
+
scheme_name: str = "default",
|
|
79
|
+
) -> None:
|
|
80
|
+
"""Validate that auth_mapping keys match expected parameters for the auth type.
|
|
81
|
+
|
|
82
|
+
The auth_mapping keys must be the parameters expected by the security scheme
|
|
83
|
+
(e.g., "token" for bearer), not the user's credential field names.
|
|
84
|
+
|
|
85
|
+
Args:
|
|
86
|
+
auth_type: The authentication type
|
|
87
|
+
auth_config: The x-airbyte-auth-config containing auth_mapping
|
|
88
|
+
scheme_name: Name of the security scheme for error messages
|
|
89
|
+
|
|
90
|
+
Raises:
|
|
91
|
+
InvalidOpenAPIError: If auth_mapping keys don't match expected parameters
|
|
92
|
+
"""
|
|
93
|
+
if auth_config is None or auth_config.auth_mapping is None:
|
|
94
|
+
return # No explicit auth_mapping, will use defaults
|
|
95
|
+
|
|
96
|
+
expected_keys = EXPECTED_AUTH_MAPPING_KEYS.get(auth_type)
|
|
97
|
+
if expected_keys is None:
|
|
98
|
+
return # Unknown auth type, skip validation
|
|
99
|
+
|
|
100
|
+
actual_keys = set(auth_config.auth_mapping.keys())
|
|
101
|
+
invalid_keys = actual_keys - expected_keys
|
|
102
|
+
|
|
103
|
+
if invalid_keys:
|
|
104
|
+
raise InvalidOpenAPIError(
|
|
105
|
+
f"Invalid auth_mapping keys for {auth_type.value} auth in scheme '{scheme_name}': {invalid_keys}. "
|
|
106
|
+
f"Expected keys for {auth_type.value}: {sorted(expected_keys)}. "
|
|
107
|
+
f"Note: auth_mapping keys must be the auth parameters (e.g., 'token' for bearer), "
|
|
108
|
+
f'not your credential field names. Use template syntax to map: token: "${{your_field}}"'
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
65
112
|
def extract_path_params(path: str) -> list[str]:
|
|
66
113
|
"""Extract parameter names from path template.
|
|
67
114
|
|
|
@@ -924,6 +971,9 @@ def _parse_single_security_scheme(scheme: Any) -> AuthConfig:
|
|
|
924
971
|
oauth2_config = _parse_oauth2_config(scheme)
|
|
925
972
|
# Use explicit x-airbyte-auth-config if present, otherwise generate default
|
|
926
973
|
auth_config_obj = scheme.x_airbyte_auth_config or _generate_default_auth_config(AuthType.OAUTH2)
|
|
974
|
+
# Validate auth_mapping keys if explicitly provided
|
|
975
|
+
if scheme.x_airbyte_auth_config:
|
|
976
|
+
_validate_auth_mapping_keys(AuthType.OAUTH2, scheme.x_airbyte_auth_config)
|
|
927
977
|
return AuthConfig(
|
|
928
978
|
type=AuthType.OAUTH2,
|
|
929
979
|
config=oauth2_config,
|
|
@@ -934,6 +984,10 @@ def _parse_single_security_scheme(scheme: Any) -> AuthConfig:
|
|
|
934
984
|
# Use explicit x-airbyte-auth-config if present, otherwise generate default
|
|
935
985
|
auth_config_obj = scheme.x_airbyte_auth_config or _generate_default_auth_config(auth_type)
|
|
936
986
|
|
|
987
|
+
# Validate auth_mapping keys if explicitly provided
|
|
988
|
+
if scheme.x_airbyte_auth_config:
|
|
989
|
+
_validate_auth_mapping_keys(auth_type, scheme.x_airbyte_auth_config)
|
|
990
|
+
|
|
937
991
|
return AuthConfig(
|
|
938
992
|
type=auth_type,
|
|
939
993
|
config=auth_config,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/_vendored/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.23}/airbyte_agent_slack/connector_model.py
RENAMED
|
File without changes
|
|
@@ -176,13 +176,26 @@ class ChannelResponse(BaseModel):
|
|
|
176
176
|
ok: Union[bool, Any] = Field(default=None)
|
|
177
177
|
channel: Union[Channel, Any] = Field(default=None)
|
|
178
178
|
|
|
179
|
-
class
|
|
180
|
-
"""Message
|
|
179
|
+
class Attachment(BaseModel):
|
|
180
|
+
"""Message attachment"""
|
|
181
181
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
182
182
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
id: Union[int | None, Any] = Field(default=None)
|
|
184
|
+
fallback: Union[str | None, Any] = Field(default=None)
|
|
185
|
+
color: Union[str | None, Any] = Field(default=None)
|
|
186
|
+
pretext: Union[str | None, Any] = Field(default=None)
|
|
187
|
+
author_name: Union[str | None, Any] = Field(default=None)
|
|
188
|
+
author_link: Union[str | None, Any] = Field(default=None)
|
|
189
|
+
author_icon: Union[str | None, Any] = Field(default=None)
|
|
190
|
+
title: Union[str | None, Any] = Field(default=None)
|
|
191
|
+
title_link: Union[str | None, Any] = Field(default=None)
|
|
192
|
+
text: Union[str | None, Any] = Field(default=None)
|
|
193
|
+
fields: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
194
|
+
image_url: Union[str | None, Any] = Field(default=None)
|
|
195
|
+
thumb_url: Union[str | None, Any] = Field(default=None)
|
|
196
|
+
footer: Union[str | None, Any] = Field(default=None)
|
|
197
|
+
footer_icon: Union[str | None, Any] = Field(default=None)
|
|
198
|
+
ts: Union[Any, Any] = Field(default=None)
|
|
186
199
|
|
|
187
200
|
class File(BaseModel):
|
|
188
201
|
"""File object"""
|
|
@@ -208,26 +221,13 @@ class File(BaseModel):
|
|
|
208
221
|
created: Union[int | None, Any] = Field(default=None)
|
|
209
222
|
timestamp: Union[int | None, Any] = Field(default=None)
|
|
210
223
|
|
|
211
|
-
class
|
|
212
|
-
"""Message
|
|
224
|
+
class Reaction(BaseModel):
|
|
225
|
+
"""Message reaction"""
|
|
213
226
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
214
227
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
pretext: Union[str | None, Any] = Field(default=None)
|
|
219
|
-
author_name: Union[str | None, Any] = Field(default=None)
|
|
220
|
-
author_link: Union[str | None, Any] = Field(default=None)
|
|
221
|
-
author_icon: Union[str | None, Any] = Field(default=None)
|
|
222
|
-
title: Union[str | None, Any] = Field(default=None)
|
|
223
|
-
title_link: Union[str | None, Any] = Field(default=None)
|
|
224
|
-
text: Union[str | None, Any] = Field(default=None)
|
|
225
|
-
fields: Union[list[dict[str, Any]] | None, Any] = Field(default=None)
|
|
226
|
-
image_url: Union[str | None, Any] = Field(default=None)
|
|
227
|
-
thumb_url: Union[str | None, Any] = Field(default=None)
|
|
228
|
-
footer: Union[str | None, Any] = Field(default=None)
|
|
229
|
-
footer_icon: Union[str | None, Any] = Field(default=None)
|
|
230
|
-
ts: Union[Any, Any] = Field(default=None)
|
|
228
|
+
name: Union[str | None, Any] = Field(default=None)
|
|
229
|
+
users: Union[list[str] | None, Any] = Field(default=None)
|
|
230
|
+
count: Union[int | None, Any] = Field(default=None)
|
|
231
231
|
|
|
232
232
|
class Message(BaseModel):
|
|
233
233
|
"""Slack message object"""
|
|
File without changes
|