airbyte-agent-slack 0.1.18__py3-none-any.whl → 0.1.19__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.
@@ -17,8 +17,8 @@ from .models import (
17
17
  ChannelPurpose,
18
18
  ChannelsListResponse,
19
19
  ChannelResponse,
20
- Reaction,
21
20
  File,
21
+ Reaction,
22
22
  Attachment,
23
23
  Message,
24
24
  Thread,
@@ -81,8 +81,8 @@ __all__ = [
81
81
  "ChannelPurpose",
82
82
  "ChannelsListResponse",
83
83
  "ChannelResponse",
84
- "Reaction",
85
84
  "File",
85
+ "Reaction",
86
86
  "Attachment",
87
87
  "Message",
88
88
  "Thread",
@@ -61,7 +61,7 @@ class SlackConnector:
61
61
  """
62
62
 
63
63
  connector_name = "slack"
64
- connector_version = "0.1.5"
64
+ connector_version = "0.1.6"
65
65
  vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
66
66
 
67
67
  # Map of (entity, action) -> needs_envelope for envelope wrapping decision
@@ -123,7 +123,7 @@ class SlackConnector:
123
123
  Example: lambda tokens: save_to_database(tokens)
124
124
  Examples:
125
125
  # Local mode (direct API calls)
126
- connector = SlackConnector(auth_config=SlackAuthConfig(access_token="..."))
126
+ connector = SlackConnector(auth_config=SlackAuthConfig(api_token="..."))
127
127
  # Hosted mode (executed on Airbyte cloud)
128
128
  connector = SlackConnector(
129
129
  external_user_id="user-123",
@@ -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.5',
30
+ version='0.1.6',
31
31
  base_url='https://slack.com/api',
32
32
  auth=AuthConfig(
33
33
  options=[
@@ -38,16 +38,16 @@ SlackConnectorModel: ConnectorModel = ConnectorModel(
38
38
  user_config_spec=AirbyteAuthConfig(
39
39
  title='Token Authentication',
40
40
  type='object',
41
- required=['access_token'],
41
+ required=['api_token'],
42
42
  properties={
43
- 'access_token': AuthConfigFieldSpec(
44
- title='Access Token',
43
+ 'api_token': AuthConfigFieldSpec(
44
+ title='API Token',
45
45
  description='Your Slack Bot Token (xoxb-) or User Token (xoxp-)',
46
46
  airbyte_secret=True,
47
47
  ),
48
48
  },
49
- auth_mapping={'token': '${access_token}'},
50
- replication_auth_key_mapping={'credentials.api_token': 'access_token'},
49
+ auth_mapping={'token': '${api_token}'},
50
+ replication_auth_key_mapping={'credentials.api_token': 'api_token'},
51
51
  replication_auth_key_constants={'credentials.option_title': 'API Token Credentials'},
52
52
  ),
53
53
  ),
@@ -17,7 +17,7 @@ class SlackTokenAuthenticationAuthConfig(BaseModel):
17
17
 
18
18
  model_config = ConfigDict(extra="forbid")
19
19
 
20
- access_token: str
20
+ api_token: str
21
21
  """Your Slack Bot Token (xoxb-) or User Token (xoxp-)"""
22
22
 
23
23
  class SlackOauth20AuthenticationAuthConfig(BaseModel):
@@ -176,14 +176,6 @@ 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 Reaction(BaseModel):
180
- """Message reaction"""
181
- model_config = ConfigDict(extra="allow", populate_by_name=True)
182
-
183
- name: Union[str | None, Any] = Field(default=None)
184
- users: Union[list[str] | None, Any] = Field(default=None)
185
- count: Union[int | None, Any] = Field(default=None)
186
-
187
179
  class File(BaseModel):
188
180
  """File object"""
189
181
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -208,6 +200,14 @@ class File(BaseModel):
208
200
  created: Union[int | None, Any] = Field(default=None)
209
201
  timestamp: Union[int | None, Any] = Field(default=None)
210
202
 
203
+ class Reaction(BaseModel):
204
+ """Message reaction"""
205
+ model_config = ConfigDict(extra="allow", populate_by_name=True)
206
+
207
+ name: Union[str | None, Any] = Field(default=None)
208
+ users: Union[list[str] | None, Any] = Field(default=None)
209
+ count: Union[int | None, Any] = Field(default=None)
210
+
211
211
  class Attachment(BaseModel):
212
212
  """Message attachment"""
213
213
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-slack
3
- Version: 0.1.18
3
+ Version: 0.1.19
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/
@@ -99,7 +99,7 @@ from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
99
99
 
100
100
  connector = SlackConnector(
101
101
  auth_config=SlackTokenAuthenticationAuthConfig(
102
- access_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
102
+ api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
103
103
  )
104
104
  )
105
105
 
@@ -154,6 +154,6 @@ For the service's official API docs, see the [Slack API reference](https://api.s
154
154
 
155
155
  ## Version information
156
156
 
157
- - **Package version:** 0.1.18
158
- - **Connector version:** 0.1.5
159
- - **Generated with Connector SDK commit SHA:** 416466da4970ae5fd6c7f2c658a68e047e51efd9
157
+ - **Package version:** 0.1.19
158
+ - **Connector version:** 0.1.6
159
+ - **Generated with Connector SDK commit SHA:** a035ad482faa8ceae3c296a0651e914e1dae140e
@@ -1,7 +1,7 @@
1
- airbyte_agent_slack/__init__.py,sha256=JaQBqd7I7QGv0pVCtOnG1mW4ba_VC8cQLny-hQIk-yE,3021
2
- airbyte_agent_slack/connector.py,sha256=C-runzVQOFsrOAM0mEV8pGL4fJfk8vY6TqYPvKq1bNU,29292
3
- airbyte_agent_slack/connector_model.py,sha256=e-lj4OySCyhaGYpor6YGQbgLNItRurZVg4HhmE2_R5s,191740
4
- airbyte_agent_slack/models.py,sha256=s4I8jf7mVu1ATyCybXbIVvDLLXLQ99_z6gai3dCFBtU,22473
1
+ airbyte_agent_slack/__init__.py,sha256=5Od-bQD8Lu7rou3JPVHzzdRC6vzBf9PUgqYGaaLscOU,3021
2
+ airbyte_agent_slack/connector.py,sha256=cZOzLshcM4WT7sHQnaAD-Gis-4SEaoc0CEFKPWPy75o,29289
3
+ airbyte_agent_slack/connector_model.py,sha256=PFuCnB6hn9fmHFIOQBOAO4XcZAokmG72j9xH5fzstdk,191725
4
+ airbyte_agent_slack/models.py,sha256=GnyMXKd0qbk7YVQfVrfP7Xc8Xo6Wd1RJZteTPT1Lanw,22470
5
5
  airbyte_agent_slack/types.py,sha256=PzLbXxZt3-K9Kux3U_Bn6tW9sTQho_UVoMU_Hqzo5d4,2628
6
6
  airbyte_agent_slack/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
7
7
  airbyte_agent_slack/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
@@ -52,6 +52,6 @@ airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU
52
52
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_slack-0.1.18.dist-info/METADATA,sha256=6APh23jFo3nGVMqR7wNVsG1RAudEQyZjchlukDCkWFE,6437
56
- airbyte_agent_slack-0.1.18.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_slack-0.1.18.dist-info/RECORD,,
55
+ airbyte_agent_slack-0.1.19.dist-info/METADATA,sha256=IfkVcnCQzZv9rAUmYWzum6sDhUFzMwGe2sNzxrEEcEg,6434
56
+ airbyte_agent_slack-0.1.19.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_slack-0.1.19.dist-info/RECORD,,