airbyte-agent-slack 0.1.22__tar.gz → 0.1.24__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.24}/AUTH.md +1 -1
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/CHANGELOG.md +10 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/PKG-INFO +4 -4
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/README.md +3 -3
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/__init__.py +2 -2
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +54 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/pyproject.toml +1 -1
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/.gitignore +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/REFERENCE.md +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/connector.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/connector_model.py +0 -0
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/models.py +21 -21
- {airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/airbyte_agent_slack/types.py +0 -0
|
@@ -97,7 +97,7 @@ After creating the connector, execute operations using either the Python SDK or
|
|
|
97
97
|
from airbyte_agent_slack import SlackConnector
|
|
98
98
|
|
|
99
99
|
connector = SlackConnector(
|
|
100
|
-
external_user_id="<
|
|
100
|
+
external_user_id="<your_external_user_id>",
|
|
101
101
|
airbyte_client_id="<your-client-id>",
|
|
102
102
|
airbyte_client_secret="<your-client-secret>"
|
|
103
103
|
)
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Slack changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.24] - 2026-01-26
|
|
4
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
5
|
+
- Source commit: 74809153
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.23] - 2026-01-26
|
|
9
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
10
|
+
- Source commit: b73c71e0
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
3
13
|
## [0.1.22] - 2026-01-24
|
|
4
14
|
- Updated connector definition (YAML version 0.1.8)
|
|
5
15
|
- 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.24
|
|
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/
|
|
@@ -119,7 +119,7 @@ This example assumes you've already authenticated your connector with Airbyte. S
|
|
|
119
119
|
from airbyte_agent_slack import SlackConnector
|
|
120
120
|
|
|
121
121
|
connector = SlackConnector(
|
|
122
|
-
external_user_id="<
|
|
122
|
+
external_user_id="<your_external_user_id>",
|
|
123
123
|
airbyte_client_id="<your-client-id>",
|
|
124
124
|
airbyte_client_secret="<your-client-secret>"
|
|
125
125
|
)
|
|
@@ -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.24
|
|
162
162
|
- **Connector version:** 0.1.8
|
|
163
|
-
- **Generated with Connector SDK commit SHA:**
|
|
163
|
+
- **Generated with Connector SDK commit SHA:** 74809153299f81ed3e220538146012ee2abd2e0d
|
|
@@ -86,7 +86,7 @@ This example assumes you've already authenticated your connector with Airbyte. S
|
|
|
86
86
|
from airbyte_agent_slack import SlackConnector
|
|
87
87
|
|
|
88
88
|
connector = SlackConnector(
|
|
89
|
-
external_user_id="<
|
|
89
|
+
external_user_id="<your_external_user_id>",
|
|
90
90
|
airbyte_client_id="<your-client-id>",
|
|
91
91
|
airbyte_client_secret="<your-client-secret>"
|
|
92
92
|
)
|
|
@@ -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.24
|
|
129
129
|
- **Connector version:** 0.1.8
|
|
130
|
-
- **Generated with Connector SDK commit SHA:**
|
|
130
|
+
- **Generated with Connector SDK commit SHA:** 74809153299f81ed3e220538146012ee2abd2e0d
|
|
@@ -17,9 +17,9 @@ from .models import (
|
|
|
17
17
|
ChannelPurpose,
|
|
18
18
|
ChannelsListResponse,
|
|
19
19
|
ChannelResponse,
|
|
20
|
+
Attachment,
|
|
20
21
|
Reaction,
|
|
21
22
|
File,
|
|
22
|
-
Attachment,
|
|
23
23
|
Message,
|
|
24
24
|
Thread,
|
|
25
25
|
EditedInfo,
|
|
@@ -95,9 +95,9 @@ __all__ = [
|
|
|
95
95
|
"ChannelPurpose",
|
|
96
96
|
"ChannelsListResponse",
|
|
97
97
|
"ChannelResponse",
|
|
98
|
+
"Attachment",
|
|
98
99
|
"Reaction",
|
|
99
100
|
"File",
|
|
100
|
-
"Attachment",
|
|
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
|
{airbyte_agent_slack-0.1.22 → airbyte_agent_slack-0.1.24}/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.24}/airbyte_agent_slack/connector_model.py
RENAMED
|
File without changes
|
|
@@ -176,6 +176,27 @@ 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 Attachment(BaseModel):
|
|
180
|
+
"""Message attachment"""
|
|
181
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
182
|
+
|
|
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)
|
|
199
|
+
|
|
179
200
|
class Reaction(BaseModel):
|
|
180
201
|
"""Message reaction"""
|
|
181
202
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -208,27 +229,6 @@ class File(BaseModel):
|
|
|
208
229
|
created: Union[int | None, Any] = Field(default=None)
|
|
209
230
|
timestamp: Union[int | None, Any] = Field(default=None)
|
|
210
231
|
|
|
211
|
-
class Attachment(BaseModel):
|
|
212
|
-
"""Message attachment"""
|
|
213
|
-
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
214
|
-
|
|
215
|
-
id: Union[int | None, Any] = Field(default=None)
|
|
216
|
-
fallback: Union[str | None, Any] = Field(default=None)
|
|
217
|
-
color: Union[str | None, Any] = Field(default=None)
|
|
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)
|
|
231
|
-
|
|
232
232
|
class Message(BaseModel):
|
|
233
233
|
"""Slack message object"""
|
|
234
234
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
File without changes
|