amigo_sdk 0.30.0__py3-none-any.whl → 0.32.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.30.0"
1
+ __version__ = "0.32.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-22T20:18:08+00:00
3
+ # timestamp: 2025-09-23T23:30:41+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -100,6 +100,11 @@ class CheckIfActiveMemoryNeededAgentActionEvent(BaseModel):
100
100
  queries: List[str] = Field(..., title='Queries')
101
101
 
102
102
 
103
+ class Column(BaseModel):
104
+ name: str = Field(..., description='The name of the column.', title='Name')
105
+ type: str = Field(..., description='The data type of the column.', title='Type')
106
+
107
+
103
108
  class ConversationByTimeMetricInputGranularity(Enum):
104
109
  hour = 'hour'
105
110
  day = 'day'
@@ -9485,6 +9490,36 @@ class AdminPingServerResponse(BaseModel):
9485
9490
  )
9486
9491
 
9487
9492
 
9493
+ class AdminSubmitSqlQueryRequest(BaseModel):
9494
+ sql_query: str = Field(..., description='The SQL query to execute.', min_length=1)
9495
+ async_query: Literal[False] = Field(
9496
+ ...,
9497
+ description='Whether the query is asynchronous. If true, a signed URL will be returned to download the results once the query is complete. If false, the results will be returned in the response, but at most\n1000 rows will be returned, and the query is subject to a 30 second execution timeout.',
9498
+ title='Async Query',
9499
+ )
9500
+
9501
+
9502
+ class AdminSubmitSqlQueryResponse(BaseModel):
9503
+ execution_time_ms: int = Field(
9504
+ ...,
9505
+ description='The time taken to execute the query in milliseconds.',
9506
+ title='Execution Time Ms',
9507
+ )
9508
+ result: List[List[str]] = Field(
9509
+ ...,
9510
+ description='The result of the query as a list of rows, where each row is a list of column values.',
9511
+ title='Result',
9512
+ )
9513
+ truncated: bool = Field(
9514
+ ...,
9515
+ description='Whether the result was truncated due to the row limit.',
9516
+ title='Truncated',
9517
+ )
9518
+ columns: List[Column] = Field(
9519
+ ..., description='Description of the columns in the result.', title='Columns'
9520
+ )
9521
+
9522
+
9488
9523
  class ConversationCreateConversationRequestInitialMessageType(Enum):
9489
9524
  user_message = 'user-message'
9490
9525
  external_event = 'external-event'
@@ -11677,7 +11712,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11677
11712
  [], description='The IDs of the messages to retrieve.', title='Id'
11678
11713
  )
11679
11714
  message_type: Optional[List[MessageType]] = Field(
11680
- ['agent-message', 'user-message', 'external-event'],
11715
+ ['external-event', 'user-message', 'agent-message'],
11681
11716
  description='The type of messages to retrieve.',
11682
11717
  title='Message Type',
11683
11718
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.30.0
3
+ Version: 0.32.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=rvXZ8_8x-EMsD7nlG8yO-E6M2R9lz77kK3S6nX-RcQA,139
1
+ amigo_sdk/__init__.py,sha256=0VErervSZyrAtMCOUZjUR9Q3UsniE2oB-jKx3o7G3fQ,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=AD6ga1AwGiTItYDMlzawTam7cLpxBxJpG1Mv4W6gXcE,424001
9
+ amigo_sdk/generated/model.py,sha256=lvZbNk_RmktsPY_rBEh5VauFHpqyoMAddCjN1W1n-3o,425404
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.30.0.dist-info/METADATA,sha256=5S4PfraVWTCv1hFFx64v1CY7nriHutBcZZUuuffhfWQ,8350
15
- amigo_sdk-0.30.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.30.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.30.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.30.0.dist-info/RECORD,,
14
+ amigo_sdk-0.32.0.dist-info/METADATA,sha256=FUGWmy7vvv0oBSR-wbJuSOWwHew5CagAZae-yMUCIh4,8350
15
+ amigo_sdk-0.32.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.32.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.32.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.32.0.dist-info/RECORD,,