airbyte-agent-slack 0.1.43__py3-none-any.whl → 0.1.45__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.
@@ -18,8 +18,8 @@ from .models import (
18
18
  ChannelPurpose,
19
19
  ChannelsListResponse,
20
20
  ChannelResponse,
21
- Attachment,
22
21
  Reaction,
22
+ Attachment,
23
23
  File,
24
24
  Message,
25
25
  Thread,
@@ -98,8 +98,8 @@ __all__ = [
98
98
  "ChannelPurpose",
99
99
  "ChannelsListResponse",
100
100
  "ChannelResponse",
101
- "Attachment",
102
101
  "Reaction",
102
+ "Attachment",
103
103
  "File",
104
104
  "Message",
105
105
  "Thread",
@@ -37,8 +37,7 @@ class AirbyteCloudClient:
37
37
  )
38
38
  """
39
39
 
40
- AUTH_BASE_URL = "https://cloud.airbyte.com" # For token endpoint
41
- API_BASE_URL = "https://api.airbyte.ai" # For instance lookup & execution
40
+ API_BASE_URL = "https://api.airbyte.ai" # For all API calls including token endpoint
42
41
 
43
42
  def __init__(self, client_id: str, client_secret: str):
44
43
  """Initialize AirbyteCloudClient.
@@ -85,7 +84,7 @@ class AirbyteCloudClient:
85
84
  return self._cached_token
86
85
 
87
86
  # Token is missing or expired, fetch a new one
88
- url = f"{self.AUTH_BASE_URL}/api/v1/applications/token"
87
+ url = f"{self.API_BASE_URL}/api/v1/account/applications/token"
89
88
  request_body = {
90
89
  "client_id": self._client_id,
91
90
  "client_secret": self._client_secret,
@@ -317,7 +316,7 @@ class AirbyteCloudClient:
317
316
  )
318
317
  """
319
318
  token = await self.get_bearer_token()
320
- url = f"{self.API_BASE_URL}/api/v1/connectors/sources/{connector_id}/execute"
319
+ url = f"{self.API_BASE_URL}/api/v1/integrations/connectors/{connector_id}/execute"
321
320
  headers = {"Authorization": f"Bearer {token}"}
322
321
  request_body = {
323
322
  "entity": entity,
@@ -191,6 +191,14 @@ class ChannelResponse(BaseModel):
191
191
  ok: Union[bool, Any] = Field(default=None)
192
192
  channel: Union[Channel, Any] = Field(default=None)
193
193
 
194
+ class Reaction(BaseModel):
195
+ """Message reaction"""
196
+ model_config = ConfigDict(extra="allow", populate_by_name=True)
197
+
198
+ name: Union[str | None, Any] = Field(default=None)
199
+ users: Union[list[str] | None, Any] = Field(default=None)
200
+ count: Union[int | None, Any] = Field(default=None)
201
+
194
202
  class Attachment(BaseModel):
195
203
  """Message attachment"""
196
204
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -212,14 +220,6 @@ class Attachment(BaseModel):
212
220
  footer_icon: Union[str | None, Any] = Field(default=None)
213
221
  ts: Union[Any, Any] = Field(default=None)
214
222
 
215
- class Reaction(BaseModel):
216
- """Message reaction"""
217
- model_config = ConfigDict(extra="allow", populate_by_name=True)
218
-
219
- name: Union[str | None, Any] = Field(default=None)
220
- users: Union[list[str] | None, Any] = Field(default=None)
221
- count: Union[int | None, Any] = Field(default=None)
222
-
223
223
  class File(BaseModel):
224
224
  """File object"""
225
225
  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.43
3
+ Version: 0.1.45
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,7 +158,7 @@ See the official [Slack API reference](https://api.slack.com/methods).
158
158
 
159
159
  ## Version information
160
160
 
161
- - **Package version:** 0.1.43
161
+ - **Package version:** 0.1.45
162
162
  - **Connector version:** 0.1.13
163
- - **Generated with Connector SDK commit SHA:** 5c6dbf883d3b057550333775bd83a78777527017
163
+ - **Generated with Connector SDK commit SHA:** 30d23e05ea640689df95fa82153916c6f67fa916
164
164
  - **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/slack/CHANGELOG.md)
@@ -1,7 +1,7 @@
1
- airbyte_agent_slack/__init__.py,sha256=RqpI4GhNQKFrjMfFFv9to11SOif7WEHNjeFeIjUfhOk,3807
1
+ airbyte_agent_slack/__init__.py,sha256=gJS52JC97BmPpgjF1WcbI4HNDioHJcnlGRVDYVpBFe8,3807
2
2
  airbyte_agent_slack/connector.py,sha256=UnCSKSXFWjXK1AibzNQvEY_z8bLyAFeYWtWgLU0TNNk,49392
3
3
  airbyte_agent_slack/connector_model.py,sha256=9KbGq02ZvlVCwFm_5mlK8Ko7NdY1aBYBZ-h6y_8PxHA,194547
4
- airbyte_agent_slack/models.py,sha256=320aJ03FIWYNPcY6x1AGQZUjxXBH3oL8wZgvvCCbHQI,30081
4
+ airbyte_agent_slack/models.py,sha256=HyfqYopd4CTbKoNyKKegS38V3VXYaFMa2juPP2VDyLk,30081
5
5
  airbyte_agent_slack/types.py,sha256=QDLOYuH23w4H_5fxVjTcBBz6BMYm2PWbuM1K_EOcD4o,32154
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
@@ -19,7 +19,7 @@ airbyte_agent_slack/_vendored/connector_sdk/utils.py,sha256=UYwYuSLhsDD-4C0dBs7Q
19
19
  airbyte_agent_slack/_vendored/connector_sdk/validation.py,sha256=LcbmBfGkWx0Xv4pWZYpFf4JlhFjvwqGcwvliRSalN8Y,39677
20
20
  airbyte_agent_slack/_vendored/connector_sdk/validation_replication.py,sha256=v7F5YWd5m4diIF7_4m4nOkC9crg97vqRUUkt9ka9HZ4,36043
21
21
  airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=4799Hv9f2zxDVj1aLyQ8JpTEuFTp_oOZMRz-NZCdBJg,134
22
- airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py,sha256=e0VLNCmesGGfo2uD0GiICgXsXTeTkh0GYiVgx_e4VEc,12296
22
+ airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py,sha256=PAEBGGti1wrTXRCbFw3FK3ANexKHD5qhVaKtekn7l3M,12249
23
23
  airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
24
24
  airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py,sha256=tv0njAdy-gdHBg4izgcxhEWYbrNiBifEYEca9AWzaL0,8693
25
25
  airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py,sha256=chrTenrg1BRQ2ODPUcNj_KAY14UFiPmFT_mteUhyNRE,76440
@@ -53,6 +53,6 @@ airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU
53
53
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
54
54
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
55
55
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py,sha256=SginFQbHqVUVYG82NnNzG34O-tAQ_wZYjGDcuo0q4Kk,5584
56
- airbyte_agent_slack-0.1.43.dist-info/METADATA,sha256=bSJMmvGli_rjFliEuEcuhutDbV2V_mn5ivnHjBaCcCo,6597
57
- airbyte_agent_slack-0.1.43.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
58
- airbyte_agent_slack-0.1.43.dist-info/RECORD,,
56
+ airbyte_agent_slack-0.1.45.dist-info/METADATA,sha256=oXDodF9wXRswlaH3G2T2Y-H13WBJV1Gc2IY0-aqCIfw,6597
57
+ airbyte_agent_slack-0.1.45.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
58
+ airbyte_agent_slack-0.1.45.dist-info/RECORD,,