amigo_sdk 0.67.0__py3-none-any.whl → 0.73.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.
amigo_sdk/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.67.0"
1
+ __version__ = "0.73.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-12-02T08:21:19+00:00
3
+ # timestamp: 2025-12-03T23:53:32+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -33,12 +33,12 @@ class ActionTooLongEvent(BaseModel):
33
33
  )
34
34
 
35
35
 
36
- class AnnotationStateInputNextState(RootModel[List]):
37
- root: List = Field(..., max_length=2, min_length=2, title='Next State')
36
+ class AnnotationStateInputNextState(RootModel[List[Any]]):
37
+ root: List[Any] = Field(..., max_length=2, min_length=2, title='Next State')
38
38
 
39
39
 
40
- class AnnotationStateOutputNextState(RootModel[List]):
41
- root: List = Field(
40
+ class AnnotationStateOutputNextState(RootModel[List[Any]]):
41
+ root: List[Any] = Field(
42
42
  ...,
43
43
  description="The state to transition to after the inner thought message is generated. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
44
44
  max_length=2,
@@ -68,7 +68,7 @@ class AnnotationStateTransitionLog(BaseModel):
68
68
  description='Name of the previous state to transition from.',
69
69
  title='Previous State',
70
70
  )
71
- previous_service_hierarchical_state_machine_version_info: List = Field(
71
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
72
72
  ...,
73
73
  description='The identifier of the service hierarchical state machine that the previous state is in.',
74
74
  max_length=2,
@@ -78,7 +78,7 @@ class AnnotationStateTransitionLog(BaseModel):
78
78
  next_state: str = Field(
79
79
  ..., description='Name of the next state to transition to.', title='Next State'
80
80
  )
81
- next_service_hierarchical_state_machine_version_info: List = Field(
81
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
82
82
  ...,
83
83
  description='The identifier of the service hierarchical state machine that the next state is in.',
84
84
  max_length=2,
@@ -154,8 +154,8 @@ class ConversationByTimeMetricInput(BaseModel):
154
154
  )
155
155
 
156
156
 
157
- class ConversationByTimeMetricOutputConversationCount(RootModel[List]):
158
- root: List = Field(..., max_length=2, min_length=2)
157
+ class ConversationByTimeMetricOutputConversationCount(RootModel[List[Any]]):
158
+ root: List[Any] = Field(..., max_length=2, min_length=2)
159
159
 
160
160
 
161
161
  class ConversationByTimeMetricOutput(BaseModel):
@@ -224,7 +224,7 @@ class DynamicBehaviorInvocation(BaseModel):
224
224
  description='The IDs of the agent inner thoughts that led to the dynamic behavior invocation.',
225
225
  title='Agent Inner Thoughts Ids',
226
226
  )
227
- dynamic_behavior_set_version_info: List = Field(
227
+ dynamic_behavior_set_version_info: List[Any] = Field(
228
228
  ...,
229
229
  description='The ID and version number of the dynamic behavior set version that was activated.',
230
230
  max_length=2,
@@ -260,7 +260,7 @@ class EngageUserDynamicBehaviorOverrideEvent(BaseModel):
260
260
 
261
261
  class EngageUserInvocationMetadata(BaseModel):
262
262
  type: Literal['engage-user'] = Field('engage-user', title='Type')
263
- current_state_machine_and_version: List = Field(
263
+ current_state_machine_and_version: List[Any] = Field(
264
264
  ...,
265
265
  description='The ID and version of the state machine that is currently being executed.',
266
266
  max_length=2,
@@ -320,8 +320,8 @@ class EvaluationSourceType(Enum):
320
320
  simulation = 'simulation'
321
321
 
322
322
 
323
- class ExitConditionOutputNextState(RootModel[List]):
324
- root: List = Field(
323
+ class ExitConditionOutputNextState(RootModel[List[Any]]):
324
+ root: List[Any] = Field(
325
325
  ...,
326
326
  description="The state to transition to if this exit condition is met. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
327
327
  max_length=2,
@@ -442,7 +442,7 @@ class GenerateToolParamsDesignatedToolRetrievedEvent(BaseModel):
442
442
 
443
443
  class InCondition(BaseModel):
444
444
  type: Literal['In'] = Field('In', title='Type')
445
- values: List = Field(
445
+ values: List[Any] = Field(
446
446
  ...,
447
447
  description='A list of values, one of which the attribute must be equal to. All values must be of the same type as the type of this attribute in the permission.',
448
448
  title='Values',
@@ -483,7 +483,7 @@ class JumpbackStateTransitionLog(BaseModel):
483
483
  description='Name of the previous state to transition from.',
484
484
  title='Previous State',
485
485
  )
486
- previous_service_hierarchical_state_machine_version_info: List = Field(
486
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
487
487
  ...,
488
488
  description='The identifier of the service hierarchical state machine that the previous state is in.',
489
489
  max_length=2,
@@ -493,7 +493,7 @@ class JumpbackStateTransitionLog(BaseModel):
493
493
  next_state: str = Field(
494
494
  ..., description='Name of the next state to transition to.', title='Next State'
495
495
  )
496
- next_service_hierarchical_state_machine_version_info: List = Field(
496
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
497
497
  ...,
498
498
  description='The identifier of the service hierarchical state machine that the next state is in.',
499
499
  max_length=2,
@@ -610,7 +610,7 @@ class NavigateStateMachineExitConditionSelectedEvent(BaseModel):
610
610
  description='The exit condition that the agent has selected.',
611
611
  title='Exit Condition',
612
612
  )
613
- next_state_state_machine_version_info: List = Field(
613
+ next_state_state_machine_version_info: List[Any] = Field(
614
614
  ...,
615
615
  description='The state machine version info of the next state.',
616
616
  max_length=2,
@@ -700,7 +700,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
700
700
  'navigate-state-machine-state-transitioned', title='Type'
701
701
  )
702
702
  prev_state: str = Field(..., description='The previous state.', title='Prev State')
703
- prev_state_state_machine_version_info: List = Field(
703
+ prev_state_state_machine_version_info: List[Any] = Field(
704
704
  ...,
705
705
  description='The state machine version info of the previous state.',
706
706
  max_length=2,
@@ -708,7 +708,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
708
708
  title='Prev State State Machine Version Info',
709
709
  )
710
710
  next_state: str = Field(..., description='The next state.', title='Next State')
711
- next_state_state_machine_version_info: List = Field(
711
+ next_state_state_machine_version_info: List[Any] = Field(
712
712
  ...,
713
713
  description='The state machine version info of the next state.',
714
714
  max_length=2,
@@ -834,8 +834,8 @@ class RecallStateInputNextState(AnnotationStateInputNextState):
834
834
  pass
835
835
 
836
836
 
837
- class RecallStateOutputNextState(RootModel[List]):
838
- root: List = Field(
837
+ class RecallStateOutputNextState(RootModel[List[Any]]):
838
+ root: List[Any] = Field(
839
839
  ...,
840
840
  description="The state to transition to after the active memory extraction is performed. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
841
841
  max_length=2,
@@ -870,7 +870,7 @@ class RecallStateTransitionLog(BaseModel):
870
870
  description='Name of the previous state to transition from.',
871
871
  title='Previous State',
872
872
  )
873
- previous_service_hierarchical_state_machine_version_info: List = Field(
873
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
874
874
  ...,
875
875
  description='The identifier of the service hierarchical state machine that the previous state is in.',
876
876
  max_length=2,
@@ -880,7 +880,7 @@ class RecallStateTransitionLog(BaseModel):
880
880
  next_state: str = Field(
881
881
  ..., description='Name of the next state to transition to.', title='Next State'
882
882
  )
883
- next_service_hierarchical_state_machine_version_info: List = Field(
883
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
884
884
  ...,
885
885
  description='The identifier of the service hierarchical state machine that the next state is in.',
886
886
  max_length=2,
@@ -914,9 +914,9 @@ class ResultPersistence(Enum):
914
914
 
915
915
 
916
916
  class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
917
- RootModel[List]
917
+ RootModel[List[Any]]
918
918
  ):
919
- root: List = Field(
919
+ root: List[Any] = Field(
920
920
  ...,
921
921
  max_length=2,
922
922
  min_length=2,
@@ -925,9 +925,9 @@ class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
925
925
 
926
926
 
927
927
  class SelectDynamicBehaviorCompletedEventPreviousSelectedDynamicBehaviorSetVersionInfo(
928
- RootModel[List]
928
+ RootModel[List[Any]]
929
929
  ):
930
- root: List = Field(
930
+ root: List[Any] = Field(
931
931
  ...,
932
932
  max_length=2,
933
933
  min_length=2,
@@ -1064,7 +1064,7 @@ class StateOrRefName(RootModel[str]):
1064
1064
 
1065
1065
  class StateTransitionInvocationMetadata(BaseModel):
1066
1066
  type: Literal['state-transition'] = Field('state-transition', title='Type')
1067
- current_state_machine_and_version: List = Field(
1067
+ current_state_machine_and_version: List[Any] = Field(
1068
1068
  ...,
1069
1069
  description='The ID and version of the state machine that is currently being executed.',
1070
1070
  max_length=2,
@@ -1263,7 +1263,7 @@ class ToolCallStateOutput(BaseModel):
1263
1263
 
1264
1264
  class ToolCallStateInvocationMetadata(BaseModel):
1265
1265
  type: Literal['tool-call-state'] = Field('tool-call-state', title='Type')
1266
- current_state_machine_and_version: List = Field(
1266
+ current_state_machine_and_version: List[Any] = Field(
1267
1267
  ...,
1268
1268
  description='The ID and version of the state machine that is currently being executed.',
1269
1269
  max_length=2,
@@ -1283,7 +1283,7 @@ class ToolCallStateTransitionLog(BaseModel):
1283
1283
  description='Name of the previous state to transition from.',
1284
1284
  title='Previous State',
1285
1285
  )
1286
- previous_service_hierarchical_state_machine_version_info: List = Field(
1286
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
1287
1287
  ...,
1288
1288
  description='The identifier of the service hierarchical state machine that the previous state is in.',
1289
1289
  max_length=2,
@@ -1293,7 +1293,7 @@ class ToolCallStateTransitionLog(BaseModel):
1293
1293
  next_state: str = Field(
1294
1294
  ..., description='Name of the next state to transition to.', title='Next State'
1295
1295
  )
1296
- next_service_hierarchical_state_machine_version_info: List = Field(
1296
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
1297
1297
  ...,
1298
1298
  description='The identifier of the service hierarchical state machine that the next state is in.',
1299
1299
  max_length=2,
@@ -1396,8 +1396,8 @@ class TotalMessageCountMetricOutput(BaseModel):
1396
1396
  message_count: int = Field(..., title='Message Count')
1397
1397
 
1398
1398
 
1399
- class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
1400
- root: List = Field(
1399
+ class UnitTestRunSpecScenarioVersionInfo(RootModel[List[Any]]):
1400
+ root: List[Any] = Field(
1401
1401
  ...,
1402
1402
  description='The version of the scenario that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
1403
1403
  max_length=2,
@@ -1406,8 +1406,8 @@ class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
1406
1406
  )
1407
1407
 
1408
1408
 
1409
- class UnitTestRunSpecPersonaVersionInfo(RootModel[List]):
1410
- root: List = Field(
1409
+ class UnitTestRunSpecPersonaVersionInfo(RootModel[List[Any]]):
1410
+ root: List[Any] = Field(
1411
1411
  ...,
1412
1412
  description='The version of the persona that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
1413
1413
  max_length=2,
@@ -1780,7 +1780,7 @@ class AdminSubmitSqlQueryResponse(BaseModel):
1780
1780
  description='The time taken to execute the query in milliseconds.',
1781
1781
  title='Execution Time Ms',
1782
1782
  )
1783
- result: List[List] = Field(
1783
+ result: List[List[Any]] = Field(
1784
1784
  ...,
1785
1785
  description='The result of the query as a list of rows, where each row is a list of column values.',
1786
1786
  title='Result',
@@ -1870,9 +1870,9 @@ class ConversationGenerateConversationStarterResponse(BaseModel):
1870
1870
 
1871
1871
 
1872
1872
  class ConversationGetInteractionInsightsResponseTriggeredDynamicBehaviorSetVersionInfo(
1873
- RootModel[List]
1873
+ RootModel[List[Any]]
1874
1874
  ):
1875
- root: List = Field(
1875
+ root: List[Any] = Field(
1876
1876
  ...,
1877
1877
  description='The ID and version number of the dynamic behavior set that was activated during this interaction.',
1878
1878
  max_length=2,
@@ -10742,13 +10742,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10742
10742
  )
10743
10743
 
10744
10744
 
10745
- class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10746
- description: str = Field(..., min_length=1)
10747
- tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
10748
- ..., title='Tags'
10749
- )
10750
-
10751
-
10752
10745
  class OrganizationCreateOrganizationResponse(BaseModel):
10753
10746
  org_id: str = Field(
10754
10747
  ...,
@@ -10890,22 +10883,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10890
10883
  )
10891
10884
 
10892
10885
 
10893
- class OrganizationModifyOrganizationRequestUserDimensions(
10894
- RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
10895
- ):
10896
- root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
10897
- ...,
10898
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10899
- min_length=1,
10900
- title='User Dimensions',
10901
- )
10902
-
10903
-
10904
10886
  OrganizationModifyOrganizationRequestPreferences = (
10905
10887
  OrganizationCreateOrganizationRequestPreferences
10906
10888
  )
10907
10889
 
10908
10890
 
10891
+ class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10892
+ description: str = Field(..., min_length=1)
10893
+ tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
10894
+ ..., title='Tags'
10895
+ )
10896
+
10897
+
10909
10898
  class RoleAssignRoleRequest(BaseModel):
10910
10899
  user_id: str = Field(
10911
10900
  ...,
@@ -11672,7 +11661,7 @@ class UserGetMemoriesResponse(BaseModel):
11672
11661
  )
11673
11662
 
11674
11663
 
11675
- class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11664
+ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11676
11665
  num_conversations: int = Field(
11677
11666
  ...,
11678
11667
  description='The number of conversations the user has created.',
@@ -12111,7 +12100,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12111
12100
  [], description='The IDs of the messages to retrieve.', title='Id'
12112
12101
  )
12113
12102
  message_type: Optional[List[MessageType]] = Field(
12114
- ['user-message', 'agent-message', 'external-event'],
12103
+ ['user-message', 'external-event', 'agent-message'],
12115
12104
  description='The type of messages to retrieve.',
12116
12105
  title='Message Type',
12117
12106
  )
@@ -13556,7 +13545,7 @@ class ActionStateTransitionLog(BaseModel):
13556
13545
  description='Name of the previous state to transition from.',
13557
13546
  title='Previous State',
13558
13547
  )
13559
- previous_service_hierarchical_state_machine_version_info: List = Field(
13548
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13560
13549
  ...,
13561
13550
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13562
13551
  max_length=2,
@@ -13566,7 +13555,7 @@ class ActionStateTransitionLog(BaseModel):
13566
13555
  next_state: str = Field(
13567
13556
  ..., description='Name of the next state to transition to.', title='Next State'
13568
13557
  )
13569
- next_service_hierarchical_state_machine_version_info: List = Field(
13558
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13570
13559
  ...,
13571
13560
  description='The identifier of the service hierarchical state machine that the next state is in.',
13572
13561
  max_length=2,
@@ -13654,7 +13643,7 @@ class DecisionStateTransitionLog(BaseModel):
13654
13643
  description='Name of the previous state to transition from.',
13655
13644
  title='Previous State',
13656
13645
  )
13657
- previous_service_hierarchical_state_machine_version_info: List = Field(
13646
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13658
13647
  ...,
13659
13648
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13660
13649
  max_length=2,
@@ -13664,7 +13653,7 @@ class DecisionStateTransitionLog(BaseModel):
13664
13653
  next_state: str = Field(
13665
13654
  ..., description='Name of the next state to transition to.', title='Next State'
13666
13655
  )
13667
- next_service_hierarchical_state_machine_version_info: List = Field(
13656
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13668
13657
  ...,
13669
13658
  description='The identifier of the service hierarchical state machine that the next state is in.',
13670
13659
  max_length=2,
@@ -13837,7 +13826,7 @@ class ReflectionStateTransitionLog(BaseModel):
13837
13826
  description='Name of the previous state to transition from.',
13838
13827
  title='Previous State',
13839
13828
  )
13840
- previous_service_hierarchical_state_machine_version_info: List = Field(
13829
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13841
13830
  ...,
13842
13831
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13843
13832
  max_length=2,
@@ -13847,7 +13836,7 @@ class ReflectionStateTransitionLog(BaseModel):
13847
13836
  next_state: str = Field(
13848
13837
  ..., description='Name of the next state to transition to.', title='Next State'
13849
13838
  )
13850
- next_service_hierarchical_state_machine_version_info: List = Field(
13839
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13851
13840
  ...,
13852
13841
  description='The identifier of the service hierarchical state machine that the next state is in.',
13853
13842
  max_length=2,
@@ -14225,14 +14214,14 @@ class VersionSetInfo(BaseModel):
14225
14214
  description='The name of the version set. If the value is `unknown`, it means the conversation was created before this field was introduced and the version set name cannot be retroactively determined.',
14226
14215
  title='Name',
14227
14216
  )
14228
- agent_version_info: List = Field(
14217
+ agent_version_info: List[Any] = Field(
14229
14218
  ...,
14230
14219
  description='The ID of the agent and version number used in this conversation.',
14231
14220
  max_length=2,
14232
14221
  min_length=2,
14233
14222
  title='Agent Version Info',
14234
14223
  )
14235
- service_hierarchical_state_machine_version_info: List = Field(
14224
+ service_hierarchical_state_machine_version_info: List[Any] = Field(
14236
14225
  ...,
14237
14226
  description='The ID of the state machine and version number used in this conversation.',
14238
14227
  max_length=2,
@@ -14550,7 +14539,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14550
14539
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14551
14540
  min_length=1,
14552
14541
  )
14553
- user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
14542
+ user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
14554
14543
  ...,
14555
14544
  description='User dimensions for the organization.',
14556
14545
  title='User Dimensions',
@@ -14694,6 +14683,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
14694
14683
  )
14695
14684
 
14696
14685
 
14686
+ class OrganizationModifyOrganizationRequestUserDimensions(
14687
+ RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
14688
+ ):
14689
+ root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
14690
+ ...,
14691
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14692
+ min_length=1,
14693
+ title='User Dimensions',
14694
+ )
14695
+
14696
+
14697
14697
  class OrganizationModifyOrganizationRequest(BaseModel):
14698
14698
  title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14699
14699
  None,
@@ -15117,7 +15117,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15117
15117
  ..., description='The last name of the user.', title='Last Name'
15118
15118
  )
15119
15119
  email: str = Field(..., description='Email of the user.', title='Email')
15120
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15120
+ user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15121
15121
  ..., description="Statistics about the user's usage of the Amigo platform."
15122
15122
  )
15123
15123
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15587,7 +15587,7 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
15587
15587
  description='The state the user will be in when the session ends. This must be an action state.',
15588
15588
  title='Terminal State',
15589
15589
  )
15590
- references: Dict[str, List] = Field(
15590
+ references: Dict[str, List[Any]] = Field(
15591
15591
  ...,
15592
15592
  description="A dictionary of other service hierarchical state machine versions that this references to. This field is a map of the reference name to the machine's ID and its version number.",
15593
15593
  title='References',
@@ -15708,14 +15708,14 @@ class UnitTestRunSpec(BaseModel):
15708
15708
  run_count: int = Field(
15709
15709
  ..., description='The number of times to run the unit test.', title='Run Count'
15710
15710
  )
15711
- service_hierarchical_state_machine_version_info: List = Field(
15711
+ service_hierarchical_state_machine_version_info: List[Any] = Field(
15712
15712
  ...,
15713
15713
  description='The version of the service hierarchical state machine that the unit test runs on.',
15714
15714
  max_length=2,
15715
15715
  min_length=2,
15716
15716
  title='Service Hierarchical State Machine Version Info',
15717
15717
  )
15718
- agent_version_info: List = Field(
15718
+ agent_version_info: List[Any] = Field(
15719
15719
  ...,
15720
15720
  description='The version of the agent that the unit test runs on.',
15721
15721
  max_length=2,
@@ -15922,7 +15922,7 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequest(BaseModel)
15922
15922
  description='The state the user will be in when the session ends. This must be an action state, and must be an internal state.',
15923
15923
  pattern='^[A-Za-z0-9_]+$',
15924
15924
  )
15925
- references: Dict[str, List] = Field(
15925
+ references: Dict[str, List[Any]] = Field(
15926
15926
  ...,
15927
15927
  description="A dictionary of other service hierarchical state machines that this references to. This field is a map of the reference name to the machine's ID and its version number.",
15928
15928
  title='References',
@@ -16184,7 +16184,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
16184
16184
  )
16185
16185
 
16186
16186
 
16187
- class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16187
+ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16188
16188
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
16189
16189
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
16190
16190
  created_at: Optional[AwareDatetime] = Field(None, title='Created At')
@@ -16211,14 +16211,6 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16211
16211
  )
16212
16212
 
16213
16213
 
16214
- class ToolSearchToolInvocationsResponse(BaseModel):
16215
- tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16216
- Field(
16217
- ..., description='The list of tool invocations.', title='Tool Invocations'
16218
- )
16219
- )
16220
-
16221
-
16222
16214
  class UserGetUsersResponse(BaseModel):
16223
16215
  users: List[UserGetUsersResponseUserInstance] = Field(
16224
16216
  ..., description='Users in this organization.', title='Users'
@@ -16332,7 +16324,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
16332
16324
 
16333
16325
 
16334
16326
  class ToolGetToolInvocationsResponse(BaseModel):
16335
- tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16327
+ tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16336
16328
  Field(
16337
16329
  ..., description='The list of tool invocations.', title='Tool Invocations'
16338
16330
  )
@@ -16347,3 +16339,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
16347
16339
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
16348
16340
  title='Continuation Token',
16349
16341
  )
16342
+
16343
+
16344
+ class ToolSearchToolInvocationsResponse(BaseModel):
16345
+ tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16346
+ Field(
16347
+ ..., description='The list of tool invocations.', title='Tool Invocations'
16348
+ )
16349
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.67.0
3
+ Version: 0.73.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=_Vt20XUAV719JwAfR87fdDdt_AzUTzcNx0cHi5VVTdA,139
1
+ amigo_sdk/__init__.py,sha256=M3-cznKBTuATdoY_7EDHlhXFTzv8qPMn-IA749TeT64,139
2
2
  amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
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=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
6
6
  amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
9
- amigo_sdk/generated/model.py,sha256=byPdfHdBjkFPxltnyGsxQEo1yl8pF9x53IIF_OKJWzE,456940
9
+ amigo_sdk/generated/model.py,sha256=1PM-mIT1t9v1EAqYqdrIxDPwG5lgyEF5WQ996wMOVSQ,457200
10
10
  amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
13
13
  amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
14
- amigo_sdk-0.67.0.dist-info/METADATA,sha256=qTyi_Kit19ZHi0PkFa6POvNZDZOoiBvsCCnetJZc40s,8499
15
- amigo_sdk-0.67.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.67.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.67.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.67.0.dist-info/RECORD,,
14
+ amigo_sdk-0.73.0.dist-info/METADATA,sha256=7N7JxtjUPVrkhrvvHODEkR8sRfkLGd1j5TeyuSAZV9M,8499
15
+ amigo_sdk-0.73.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.73.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.73.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.73.0.dist-info/RECORD,,