airbyte-agent-slack 0.1.25__tar.gz → 0.1.28__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.25 → airbyte_agent_slack-0.1.28}/CHANGELOG.md +15 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/PKG-INFO +4 -4
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/README.md +3 -3
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/__init__.py +2 -2
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +0 -8
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +1 -1
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +0 -1
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/connector.py +1 -1
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/connector_model.py +1 -4
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/pyproject.toml +1 -1
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/.gitignore +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/AUTH.md +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/REFERENCE.md +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/models.py +24 -24
- {airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/types.py +0 -0
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Slack changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.28] - 2026-01-27
|
|
4
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
5
|
+
- Source commit: 0f5e1914
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.27] - 2026-01-27
|
|
9
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
10
|
+
- Source commit: a01f6b16
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.1.26] - 2026-01-27
|
|
14
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
15
|
+
- Source commit: c9b05509
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
3
18
|
## [0.1.25] - 2026-01-27
|
|
4
19
|
- Updated connector definition (YAML version 0.1.8)
|
|
5
20
|
- Source commit: 4bded58d
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-slack
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.28
|
|
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.
|
|
162
|
-
- **Connector version:** 0.1.
|
|
163
|
-
- **Generated with Connector SDK commit SHA:**
|
|
161
|
+
- **Package version:** 0.1.28
|
|
162
|
+
- **Connector version:** 0.1.9
|
|
163
|
+
- **Generated with Connector SDK commit SHA:** 0f5e1914fa0d7d52de7bc0018afab712184a0847
|
|
@@ -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.
|
|
129
|
-
- **Connector version:** 0.1.
|
|
130
|
-
- **Generated with Connector SDK commit SHA:**
|
|
128
|
+
- **Package version:** 0.1.28
|
|
129
|
+
- **Connector version:** 0.1.9
|
|
130
|
+
- **Generated with Connector SDK commit SHA:** 0f5e1914fa0d7d52de7bc0018afab712184a0847
|
|
@@ -17,9 +17,9 @@ from .models import (
|
|
|
17
17
|
ChannelPurpose,
|
|
18
18
|
ChannelsListResponse,
|
|
19
19
|
ChannelResponse,
|
|
20
|
+
File,
|
|
20
21
|
Attachment,
|
|
21
22
|
Reaction,
|
|
22
|
-
File,
|
|
23
23
|
Message,
|
|
24
24
|
Thread,
|
|
25
25
|
EditedInfo,
|
|
@@ -95,9 +95,9 @@ __all__ = [
|
|
|
95
95
|
"ChannelPurpose",
|
|
96
96
|
"ChannelsListResponse",
|
|
97
97
|
"ChannelResponse",
|
|
98
|
+
"File",
|
|
98
99
|
"Attachment",
|
|
99
100
|
"Reaction",
|
|
100
|
-
"File",
|
|
101
101
|
"Message",
|
|
102
102
|
"Thread",
|
|
103
103
|
"EditedInfo",
|
|
@@ -758,7 +758,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
758
758
|
description="Authentication bearer token",
|
|
759
759
|
format=None,
|
|
760
760
|
pattern=None,
|
|
761
|
-
airbyte_secret=False,
|
|
762
761
|
default=None,
|
|
763
762
|
)
|
|
764
763
|
},
|
|
@@ -778,7 +777,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
778
777
|
description="Authentication username",
|
|
779
778
|
format=None,
|
|
780
779
|
pattern=None,
|
|
781
|
-
airbyte_secret=False,
|
|
782
780
|
default=None,
|
|
783
781
|
),
|
|
784
782
|
"password": AuthConfigFieldSpec(
|
|
@@ -787,7 +785,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
787
785
|
description="Authentication password",
|
|
788
786
|
format=None,
|
|
789
787
|
pattern=None,
|
|
790
|
-
airbyte_secret=False,
|
|
791
788
|
default=None,
|
|
792
789
|
),
|
|
793
790
|
},
|
|
@@ -807,7 +804,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
807
804
|
description="API authentication key",
|
|
808
805
|
format=None,
|
|
809
806
|
pattern=None,
|
|
810
|
-
airbyte_secret=False,
|
|
811
807
|
default=None,
|
|
812
808
|
)
|
|
813
809
|
},
|
|
@@ -832,7 +828,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
832
828
|
description="OAuth2 access token",
|
|
833
829
|
format=None,
|
|
834
830
|
pattern=None,
|
|
835
|
-
airbyte_secret=False,
|
|
836
831
|
default=None,
|
|
837
832
|
),
|
|
838
833
|
"refresh_token": AuthConfigFieldSpec(
|
|
@@ -841,7 +836,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
841
836
|
description="OAuth2 refresh token (optional)",
|
|
842
837
|
format=None,
|
|
843
838
|
pattern=None,
|
|
844
|
-
airbyte_secret=False,
|
|
845
839
|
default=None,
|
|
846
840
|
),
|
|
847
841
|
"client_id": AuthConfigFieldSpec(
|
|
@@ -850,7 +844,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
850
844
|
description="OAuth2 client ID (optional)",
|
|
851
845
|
format=None,
|
|
852
846
|
pattern=None,
|
|
853
|
-
airbyte_secret=False,
|
|
854
847
|
default=None,
|
|
855
848
|
),
|
|
856
849
|
"client_secret": AuthConfigFieldSpec(
|
|
@@ -859,7 +852,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
859
852
|
description="OAuth2 client secret (optional)",
|
|
860
853
|
format=None,
|
|
861
854
|
pattern=None,
|
|
862
|
-
airbyte_secret=False,
|
|
863
855
|
default=None,
|
|
864
856
|
),
|
|
865
857
|
},
|
|
@@ -490,7 +490,7 @@ class HTTPClient:
|
|
|
490
490
|
|
|
491
491
|
if not response_text.strip():
|
|
492
492
|
response_data = {}
|
|
493
|
-
elif "application/json" in content_type or not content_type:
|
|
493
|
+
elif "application/json" in content_type or "+json" in content_type or not content_type:
|
|
494
494
|
response_data = await response.json()
|
|
495
495
|
else:
|
|
496
496
|
error_msg = f"Expected JSON response for {method.upper()} {url}, got content-type: {content_type}"
|
|
@@ -55,7 +55,6 @@ class AuthConfigFieldSpec(BaseModel):
|
|
|
55
55
|
description: str | None = None
|
|
56
56
|
format: str | None = None # e.g., "email", "uri"
|
|
57
57
|
pattern: str | None = None # Regex validation
|
|
58
|
-
airbyte_secret: bool = Field(False, alias="airbyte_secret")
|
|
59
58
|
default: Any | None = None
|
|
60
59
|
|
|
61
60
|
|
|
@@ -107,7 +107,7 @@ class SlackConnector:
|
|
|
107
107
|
"""
|
|
108
108
|
|
|
109
109
|
connector_name = "slack"
|
|
110
|
-
connector_version = "0.1.
|
|
110
|
+
connector_version = "0.1.9"
|
|
111
111
|
vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
|
|
112
112
|
|
|
113
113
|
# Map of (entity, action) -> needs_envelope for envelope wrapping decision
|
{airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/airbyte_agent_slack/connector_model.py
RENAMED
|
@@ -27,7 +27,7 @@ from uuid import (
|
|
|
27
27
|
SlackConnectorModel: ConnectorModel = ConnectorModel(
|
|
28
28
|
id=UUID('c2281cee-86f9-4a86-bb48-d23286b4c7bd'),
|
|
29
29
|
name='slack',
|
|
30
|
-
version='0.1.
|
|
30
|
+
version='0.1.9',
|
|
31
31
|
base_url='https://slack.com/api',
|
|
32
32
|
auth=AuthConfig(
|
|
33
33
|
options=[
|
|
@@ -43,7 +43,6 @@ SlackConnectorModel: ConnectorModel = ConnectorModel(
|
|
|
43
43
|
'api_token': AuthConfigFieldSpec(
|
|
44
44
|
title='API Token',
|
|
45
45
|
description='Your Slack Bot Token (xoxb-) or User Token (xoxp-)',
|
|
46
|
-
airbyte_secret=True,
|
|
47
46
|
),
|
|
48
47
|
},
|
|
49
48
|
auth_mapping={'token': '${api_token}'},
|
|
@@ -71,12 +70,10 @@ SlackConnectorModel: ConnectorModel = ConnectorModel(
|
|
|
71
70
|
'client_secret': AuthConfigFieldSpec(
|
|
72
71
|
title='Client Secret',
|
|
73
72
|
description="Your Slack App's Client Secret",
|
|
74
|
-
airbyte_secret=True,
|
|
75
73
|
),
|
|
76
74
|
'access_token': AuthConfigFieldSpec(
|
|
77
75
|
title='Access Token',
|
|
78
76
|
description='OAuth access token (bot token from oauth.v2.access response)',
|
|
79
|
-
airbyte_secret=True,
|
|
80
77
|
),
|
|
81
78
|
},
|
|
82
79
|
auth_mapping={
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_agent_slack-0.1.25 → airbyte_agent_slack-0.1.28}/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
|
|
@@ -176,6 +176,30 @@ 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 File(BaseModel):
|
|
180
|
+
"""File object"""
|
|
181
|
+
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
182
|
+
|
|
183
|
+
id: Union[str | None, Any] = Field(default=None)
|
|
184
|
+
name: Union[str | None, Any] = Field(default=None)
|
|
185
|
+
title: Union[str | None, Any] = Field(default=None)
|
|
186
|
+
mimetype: Union[str | None, Any] = Field(default=None)
|
|
187
|
+
filetype: Union[str | None, Any] = Field(default=None)
|
|
188
|
+
pretty_type: Union[str | None, Any] = Field(default=None)
|
|
189
|
+
user: Union[str | None, Any] = Field(default=None)
|
|
190
|
+
size: Union[int | None, Any] = Field(default=None)
|
|
191
|
+
mode: Union[str | None, Any] = Field(default=None)
|
|
192
|
+
is_external: Union[bool | None, Any] = Field(default=None)
|
|
193
|
+
external_type: Union[str | None, Any] = Field(default=None)
|
|
194
|
+
is_public: Union[bool | None, Any] = Field(default=None)
|
|
195
|
+
public_url_shared: Union[bool | None, Any] = Field(default=None)
|
|
196
|
+
url_private: Union[str | None, Any] = Field(default=None)
|
|
197
|
+
url_private_download: Union[str | None, Any] = Field(default=None)
|
|
198
|
+
permalink: Union[str | None, Any] = Field(default=None)
|
|
199
|
+
permalink_public: Union[str | None, Any] = Field(default=None)
|
|
200
|
+
created: Union[int | None, Any] = Field(default=None)
|
|
201
|
+
timestamp: Union[int | None, Any] = Field(default=None)
|
|
202
|
+
|
|
179
203
|
class Attachment(BaseModel):
|
|
180
204
|
"""Message attachment"""
|
|
181
205
|
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
@@ -205,30 +229,6 @@ class Reaction(BaseModel):
|
|
|
205
229
|
users: Union[list[str] | None, Any] = Field(default=None)
|
|
206
230
|
count: Union[int | None, Any] = Field(default=None)
|
|
207
231
|
|
|
208
|
-
class File(BaseModel):
|
|
209
|
-
"""File object"""
|
|
210
|
-
model_config = ConfigDict(extra="allow", populate_by_name=True)
|
|
211
|
-
|
|
212
|
-
id: Union[str | None, Any] = Field(default=None)
|
|
213
|
-
name: Union[str | None, Any] = Field(default=None)
|
|
214
|
-
title: Union[str | None, Any] = Field(default=None)
|
|
215
|
-
mimetype: Union[str | None, Any] = Field(default=None)
|
|
216
|
-
filetype: Union[str | None, Any] = Field(default=None)
|
|
217
|
-
pretty_type: Union[str | None, Any] = Field(default=None)
|
|
218
|
-
user: Union[str | None, Any] = Field(default=None)
|
|
219
|
-
size: Union[int | None, Any] = Field(default=None)
|
|
220
|
-
mode: Union[str | None, Any] = Field(default=None)
|
|
221
|
-
is_external: Union[bool | None, Any] = Field(default=None)
|
|
222
|
-
external_type: Union[str | None, Any] = Field(default=None)
|
|
223
|
-
is_public: Union[bool | None, Any] = Field(default=None)
|
|
224
|
-
public_url_shared: Union[bool | None, Any] = Field(default=None)
|
|
225
|
-
url_private: Union[str | None, Any] = Field(default=None)
|
|
226
|
-
url_private_download: Union[str | None, Any] = Field(default=None)
|
|
227
|
-
permalink: Union[str | None, Any] = Field(default=None)
|
|
228
|
-
permalink_public: Union[str | None, Any] = Field(default=None)
|
|
229
|
-
created: Union[int | None, Any] = Field(default=None)
|
|
230
|
-
timestamp: Union[int | None, 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
|