airbyte-agent-zendesk-chat 0.1.22__py3-none-any.whl → 0.1.24__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.
@@ -14,8 +14,8 @@ from .models import (
14
14
  AgentRoles,
15
15
  AgentTimeline,
16
16
  Ban,
17
- ChatEngagement,
18
17
  ChatConversion,
18
+ ChatEngagement,
19
19
  WebpathItem,
20
20
  ChatHistoryItem,
21
21
  Chat,
@@ -110,8 +110,8 @@ __all__ = [
110
110
  "AgentRoles",
111
111
  "AgentTimeline",
112
112
  "Ban",
113
- "ChatEngagement",
114
113
  "ChatConversion",
114
+ "ChatEngagement",
115
115
  "WebpathItem",
116
116
  "ChatHistoryItem",
117
117
  "Chat",
@@ -3,7 +3,7 @@
3
3
  import logging
4
4
  import platform
5
5
  import sys
6
- from datetime import datetime
6
+ from datetime import UTC, datetime
7
7
 
8
8
  from ..observability import ObservabilitySession
9
9
 
@@ -56,7 +56,7 @@ class SegmentTracker:
56
56
 
57
57
  try:
58
58
  event = ConnectorInitEvent(
59
- timestamp=datetime.utcnow(),
59
+ timestamp=datetime.now(UTC),
60
60
  session_id=self.session.session_id,
61
61
  user_id=self.session.user_id,
62
62
  execution_context=self.session.execution_context,
@@ -99,7 +99,7 @@ class SegmentTracker:
99
99
 
100
100
  try:
101
101
  event = OperationEvent(
102
- timestamp=datetime.utcnow(),
102
+ timestamp=datetime.now(UTC),
103
103
  session_id=self.session.session_id,
104
104
  user_id=self.session.user_id,
105
105
  execution_context=self.session.execution_context,
@@ -129,7 +129,7 @@ class SegmentTracker:
129
129
 
130
130
  try:
131
131
  event = SessionEndEvent(
132
- timestamp=datetime.utcnow(),
132
+ timestamp=datetime.now(UTC),
133
133
  session_id=self.session.session_id,
134
134
  user_id=self.session.user_id,
135
135
  execution_context=self.session.execution_context,
@@ -132,6 +132,16 @@ class Ban(BaseModel):
132
132
  reason: Union[str | None, Any] = Field(default=None)
133
133
  created_at: Union[str | None, Any] = Field(default=None)
134
134
 
135
+ class ChatConversion(BaseModel):
136
+ """ChatConversion type definition"""
137
+ model_config = ConfigDict(extra="allow", populate_by_name=True)
138
+
139
+ id: Union[str | None, Any] = Field(default=None)
140
+ goal_id: Union[int | None, Any] = Field(default=None)
141
+ goal_name: Union[str | None, Any] = Field(default=None)
142
+ timestamp: Union[str | None, Any] = Field(default=None)
143
+ attribution: Union[Any, Any] = Field(default=None)
144
+
135
145
  class ChatEngagement(BaseModel):
136
146
  """ChatEngagement type definition"""
137
147
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -153,16 +163,6 @@ class ChatEngagement(BaseModel):
153
163
  skills_requested: Union[list[int] | None, Any] = Field(default=None)
154
164
  skills_fulfilled: Union[bool | None, Any] = Field(default=None)
155
165
 
156
- class ChatConversion(BaseModel):
157
- """ChatConversion type definition"""
158
- model_config = ConfigDict(extra="allow", populate_by_name=True)
159
-
160
- id: Union[str | None, Any] = Field(default=None)
161
- goal_id: Union[int | None, Any] = Field(default=None)
162
- goal_name: Union[str | None, Any] = Field(default=None)
163
- timestamp: Union[str | None, Any] = Field(default=None)
164
- attribution: Union[Any, Any] = Field(default=None)
165
-
166
166
  class WebpathItem(BaseModel):
167
167
  """WebpathItem type definition"""
168
168
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-zendesk-chat
3
- Version: 0.1.22
3
+ Version: 0.1.24
4
4
  Summary: Airbyte Zendesk-Chat 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/
@@ -162,6 +162,7 @@ See the official [Zendesk-Chat API reference](https://developer.zendesk.com/api-
162
162
 
163
163
  ## Version information
164
164
 
165
- - **Package version:** 0.1.22
165
+ - **Package version:** 0.1.24
166
166
  - **Connector version:** 0.1.6
167
- - **Generated with Connector SDK commit SHA:** c718c683a61ee72524442b7fd5e9ac3a1b94698c
167
+ - **Generated with Connector SDK commit SHA:** e4eb233f8dd57ad9bc825064625222a988db2cc6
168
+ - **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/zendesk-chat/CHANGELOG.md)
@@ -1,7 +1,7 @@
1
- airbyte_agent_zendesk_chat/__init__.py,sha256=-DntOY51ByEygmkKUUo9DADbpX-9q7hTLvSAodN-wkE,4350
1
+ airbyte_agent_zendesk_chat/__init__.py,sha256=0nVZ8hHM4L249JpZJqPU9iSX3DuHcGa6br7HwOY8Um4,4350
2
2
  airbyte_agent_zendesk_chat/connector.py,sha256=OjYSWgMcQiIQp8h9iG1mR4Sp8ioFShQLfm1KXpcdy_M,46936
3
3
  airbyte_agent_zendesk_chat/connector_model.py,sha256=4kxSVv1lu-hGlndFbnmc1GTO1mXclPtE9hUCCyQiVdo,122098
4
- airbyte_agent_zendesk_chat/models.py,sha256=FDQy1ClD_YJOLkm6gdblUP8_Q0cZPEDTZoNmnp5rCGw,24506
4
+ airbyte_agent_zendesk_chat/models.py,sha256=blhq5420YcFJjr68ij84CQSg4qkzvCSE2Fnrs8H1d3w,24506
5
5
  airbyte_agent_zendesk_chat/types.py,sha256=C5laH7V__abYm0F1Jck49Az6SCJQdnXLgtahxponDgM,28925
6
6
  airbyte_agent_zendesk_chat/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
7
7
  airbyte_agent_zendesk_chat/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
@@ -51,7 +51,7 @@ airbyte_agent_zendesk_chat/_vendored/connector_sdk/schema/security.py,sha256=1CV
51
51
  airbyte_agent_zendesk_chat/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU4dfxn1LC5Y0Q9rr2PJbrwjxvPgBLmq8_WafE,211
52
52
  airbyte_agent_zendesk_chat/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_zendesk_chat/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
- airbyte_agent_zendesk_chat/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_zendesk_chat-0.1.22.dist-info/METADATA,sha256=XWll22JrhcMiByQ-FiX_pmnFCklmr6ArmirFu7sn0Kk,6404
56
- airbyte_agent_zendesk_chat-0.1.22.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_zendesk_chat-0.1.22.dist-info/RECORD,,
54
+ airbyte_agent_zendesk_chat/_vendored/connector_sdk/telemetry/tracker.py,sha256=SginFQbHqVUVYG82NnNzG34O-tAQ_wZYjGDcuo0q4Kk,5584
55
+ airbyte_agent_zendesk_chat-0.1.24.dist-info/METADATA,sha256=zRKZdLECNsTisAWaeO9a5bas5xwKFYeKgZbLRZXla9o,6540
56
+ airbyte_agent_zendesk_chat-0.1.24.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_zendesk_chat-0.1.24.dist-info/RECORD,,