amigo_sdk 0.15.0__py3-none-any.whl → 0.17.0__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.

Potentially problematic release.


This version of amigo_sdk might be problematic. Click here for more details.

amigo_sdk/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.15.0"
1
+ __version__ = "0.17.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2025-09-02T18:13:55+00:00
3
+ # timestamp: 2025-09-04T18:39:04+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -181,10 +181,10 @@ class DynamicBehaviorInvocation(BaseModel):
181
181
  description='The ID of the user that triggered the dynamic behavior.',
182
182
  title='User Id',
183
183
  )
184
- user_message_id: str = Field(
184
+ initial_message_id: str = Field(
185
185
  ...,
186
- description='The ID of the user message that led to the dynamic behavior invocation.',
187
- title='User Message Id',
186
+ description='The ID of the initial message that led to the dynamic behavior invocation.',
187
+ title='Initial Message Id',
188
188
  )
189
189
  agent_message_id: Optional[str] = Field(
190
190
  ...,
@@ -208,6 +208,11 @@ class DynamicBehaviorInvocation(BaseModel):
208
208
  description='The time when the dynamic behavior was invoked.',
209
209
  title='Invoked At',
210
210
  )
211
+ external_event_message_ids: Optional[List[str]] = Field(
212
+ [],
213
+ description='The IDs of the external event messages that were considered during the invocation.',
214
+ title='External Event Message Ids',
215
+ )
211
216
 
212
217
 
213
218
  class EmitEventSideEffect(BaseModel):
@@ -9454,6 +9459,12 @@ class ConversationCreateConversationRequestInitialMessageType(Enum):
9454
9459
  external_event = 'external-event'
9455
9460
 
9456
9461
 
9462
+ class ConversationCreateConversationRequestExternalEvent(
9463
+ ConversationByTimeMetricOutputConversationCount
9464
+ ):
9465
+ pass
9466
+
9467
+
9457
9468
  class ConversationCreateConversationRequest(BaseModel):
9458
9469
  service_id: str = Field(
9459
9470
  ...,
@@ -9477,6 +9488,13 @@ class ConversationCreateConversationRequest(BaseModel):
9477
9488
  description='The type of the `initial_message`. Can only be specified if `initial_message` is provided.',
9478
9489
  title='Initial Message Type',
9479
9490
  )
9491
+ external_events: Optional[
9492
+ List[ConversationCreateConversationRequestExternalEvent]
9493
+ ] = Field(
9494
+ [],
9495
+ description='A list of external event messages that are sequenced before the initial message. This field must be empty if `initial_message` is not provided.',
9496
+ title='External Events',
9497
+ )
9480
9498
 
9481
9499
 
9482
9500
  class ConversationGenerateConversationStarterRequest(BaseModel):
@@ -11631,7 +11649,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11631
11649
  [], description='The IDs of the messages to retrieve.', title='Id'
11632
11650
  )
11633
11651
  message_type: Optional[List[MessageType]] = Field(
11634
- ['agent-message', 'external-event', 'user-message'],
11652
+ ['user-message', 'external-event', 'agent-message'],
11635
11653
  description='The type of messages to retrieve.',
11636
11654
  title='Message Type',
11637
11655
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.15.0
3
+ Version: 0.17.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- amigo_sdk/__init__.py,sha256=wuVMECCJ-eSaqikylcdQxixIFPW8e9onzvGljFbyh08,139
1
+ amigo_sdk/__init__.py,sha256=y2QL3Vtx5Kr0fbmwu1StiUEGygH_OHx3ypNzoKZOCZ4,139
2
2
  amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
3
3
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
4
4
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
6
6
  amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
9
- amigo_sdk/generated/model.py,sha256=5BX5qy_vYX8NpyE7KLFYEznmQ7xIy10YYdiO9ybJs20,421957
9
+ amigo_sdk/generated/model.py,sha256=_ibGgg50mKg7fk8W8fvkZt4KvO8XH6qweBuXDADZpqY,422648
10
10
  amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
13
13
  amigo_sdk/resources/user.py,sha256=i4t5aVzBI37KwAtLKSDWTMwf4D4KQdSDoUiblFe1u7o,3529
14
- amigo_sdk-0.15.0.dist-info/METADATA,sha256=MObMK4ndYzlwMmiLRumqcd8JQEO-fkGsCUe_mycqGg8,8350
15
- amigo_sdk-0.15.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.15.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.15.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.15.0.dist-info/RECORD,,
14
+ amigo_sdk-0.17.0.dist-info/METADATA,sha256=X_Nd_Kg3oOlTkju7h-jT89_5no6FYhDTMUmGoanbkmo,8350
15
+ amigo_sdk-0.17.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.17.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.17.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.17.0.dist-info/RECORD,,