amigo_sdk 0.94.0__py3-none-any.whl → 0.95.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.94.0"
1
+ __version__ = "0.95.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-19T00:21:23+00:00
3
+ # timestamp: 2025-12-20T00:51:31+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1854,6 +1854,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1854
1854
  )
1855
1855
 
1856
1856
 
1857
+ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1858
+ BaseModel
1859
+ ):
1860
+ id: str = Field(..., title='Id')
1861
+ name: str = Field(..., title='Name')
1862
+ is_active: bool = Field(..., title='Is Active')
1863
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1864
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1865
+ created_at: AwareDatetime = Field(..., title='Created At')
1866
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1867
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1868
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1869
+
1870
+
1857
1871
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1858
1872
  applied_to_services_ids: List[str] = Field(
1859
1873
  ...,
@@ -1874,18 +1888,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1874
1888
  )
1875
1889
 
1876
1890
 
1877
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1878
- BaseModel
1879
- ):
1880
- id: str = Field(..., title='Id')
1881
- name: str = Field(..., title='Name')
1882
- is_active: bool = Field(..., title='Is Active')
1883
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1884
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1885
- created_at: AwareDatetime = Field(..., title='Created At')
1886
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1887
- updated_at: AwareDatetime = Field(..., title='Updated At')
1888
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1891
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1892
+ dynamic_behavior_sets: List[
1893
+ DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1894
+ ] = Field(
1895
+ ...,
1896
+ description='The retrieved dynamic behavior sets.',
1897
+ title='Dynamic Behavior Sets',
1898
+ )
1889
1899
 
1890
1900
 
1891
1901
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -10671,19 +10681,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
10671
10681
  )
10672
10682
 
10673
10683
 
10674
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
10684
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
10675
10685
  AnnotationStateInputNextState
10676
10686
  ):
10677
10687
  pass
10678
10688
 
10679
10689
 
10680
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
10690
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
10681
10691
  BaseModel
10682
10692
  ):
10683
10693
  description: str = Field(..., min_length=1)
10684
10694
  next_state: Union[
10685
10695
  StateOrRefName,
10686
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
10696
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
10687
10697
  ] = Field(..., title='Next State')
10688
10698
 
10689
10699
 
@@ -10847,6 +10857,13 @@ class RoleModifyRoleResponse(BaseModel):
10847
10857
  )
10848
10858
 
10849
10859
 
10860
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10861
+ llm_name: LLMType
10862
+ params: Optional[Dict[str, Any]] = Field(
10863
+ {}, description='LLM-specific parameters to use.', title='Params'
10864
+ )
10865
+
10866
+
10850
10867
  class ServiceCreateServiceResponse(BaseModel):
10851
10868
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10852
10869
 
@@ -10922,13 +10939,6 @@ class ServiceUpdateServiceRequest(BaseModel):
10922
10939
  )
10923
10940
 
10924
10941
 
10925
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10926
- llm_name: LLMType
10927
- params: Optional[Dict[str, Any]] = Field(
10928
- {}, description='LLM-specific parameters to use.', title='Params'
10929
- )
10930
-
10931
-
10932
10942
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
10933
10943
  background: str = Field(
10934
10944
  ..., description='The background of the simulation persona.', min_length=1
@@ -11047,6 +11057,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11047
11057
  )
11048
11058
 
11049
11059
 
11060
+ class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11061
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11062
+ run_count: int = Field(
11063
+ ...,
11064
+ description='The number of times to run the unit test.',
11065
+ gt=0,
11066
+ title='Run Count',
11067
+ )
11068
+
11069
+
11050
11070
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11051
11071
  simulation_unit_test_set_id: str = Field(
11052
11072
  ...,
@@ -11171,6 +11191,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11171
11191
  )
11172
11192
 
11173
11193
 
11194
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11195
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11196
+ name: str = Field(
11197
+ ..., description='The name of the simulation scenario.', title='Name'
11198
+ )
11199
+ tags: Dict[str, Optional[str]] = Field(
11200
+ ..., description='The tags of the simulation scenario.', title='Tags'
11201
+ )
11202
+ is_deleted: bool = Field(
11203
+ ...,
11204
+ description='Whether the simulation scenario is deleted.',
11205
+ title='Is Deleted',
11206
+ )
11207
+ created_at: AwareDatetime = Field(
11208
+ ...,
11209
+ description='The timestamp when the simulation scenario was created.',
11210
+ title='Created At',
11211
+ )
11212
+ creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11213
+ Field(..., description='The user who created the simulation scenario.')
11214
+ )
11215
+ updated_at: AwareDatetime = Field(
11216
+ ...,
11217
+ description='The timestamp when the simulation scenario was last updated.',
11218
+ title='Updated At',
11219
+ )
11220
+ updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11221
+ Field(..., description='The user who last updated the simulation scenario.')
11222
+ )
11223
+
11224
+
11174
11225
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11175
11226
  presigned_url: str = Field(
11176
11227
  ...,
@@ -11267,34 +11318,13 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
11267
11318
  )
11268
11319
 
11269
11320
 
11270
- class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11271
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11272
- name: str = Field(
11273
- ..., description='The name of the simulation scenario.', title='Name'
11274
- )
11275
- tags: Dict[str, Optional[str]] = Field(
11276
- ..., description='The tags of the simulation scenario.', title='Tags'
11277
- )
11278
- is_deleted: bool = Field(
11279
- ...,
11280
- description='Whether the simulation scenario is deleted.',
11281
- title='Is Deleted',
11282
- )
11283
- created_at: AwareDatetime = Field(
11284
- ...,
11285
- description='The timestamp when the simulation scenario was created.',
11286
- title='Created At',
11287
- )
11288
- creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11289
- Field(..., description='The user who created the simulation scenario.')
11290
- )
11291
- updated_at: AwareDatetime = Field(
11321
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11322
+ simulation_scenarios: List[
11323
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11324
+ ] = Field(
11292
11325
  ...,
11293
- description='The timestamp when the simulation scenario was last updated.',
11294
- title='Updated At',
11295
- )
11296
- updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11297
- Field(..., description='The user who last updated the simulation scenario.')
11326
+ description='The list of simulation scenarios.',
11327
+ title='Simulation Scenarios',
11298
11328
  )
11299
11329
 
11300
11330
 
@@ -11355,13 +11385,41 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
11355
11385
  )
11356
11386
 
11357
11387
 
11358
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11359
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11360
- run_count: int = Field(
11361
- ...,
11362
- description='The number of times to run the unit test.',
11363
- gt=0,
11364
- title='Run Count',
11388
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
11389
+ RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11390
+ ):
11391
+ root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11392
+ Field(
11393
+ ...,
11394
+ description='The unit test runs that are part of this set.',
11395
+ min_length=1,
11396
+ title='Unit Test Runs',
11397
+ )
11398
+ )
11399
+
11400
+
11401
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11402
+ name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11403
+ None, description='The name of the simulation unit test set.'
11404
+ )
11405
+ description: Optional[
11406
+ Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
11407
+ ] = Field(
11408
+ default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
11409
+ {}
11410
+ ),
11411
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11412
+ title='Description',
11413
+ )
11414
+ unit_test_runs: Optional[
11415
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
11416
+ ] = Field(
11417
+ None,
11418
+ description='The unit test runs that are part of this set.',
11419
+ title='Unit Test Runs',
11420
+ )
11421
+ tags: Optional[Dict[str, Optional[str]]] = Field(
11422
+ None, description='The tags of the simulation unit test set.', title='Tags'
11365
11423
  )
11366
11424
 
11367
11425
 
@@ -11398,6 +11456,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11398
11456
  )
11399
11457
 
11400
11458
 
11459
+ class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
11460
+ regular = 'regular'
11461
+ conversation_simulation = 'conversation-simulation'
11462
+
11463
+
11464
+ class ToolInvokeToolVersionRequestInput(BaseModel):
11465
+ input_parameters: Dict[str, Any] = Field(
11466
+ ...,
11467
+ description='The input parameters for the tool invocation.',
11468
+ title='Input Parameters',
11469
+ )
11470
+ invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
11471
+ ..., description='The mode of invocation.', title='Invocation Mode'
11472
+ )
11473
+
11474
+
11401
11475
  class ToolModifyToolRequest(BaseModel):
11402
11476
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11403
11477
  None, description='A description of this tool. Only updates if not-null.'
@@ -11440,19 +11514,34 @@ class ToolPublishToolVersionResponse(BaseModel):
11440
11514
  )
11441
11515
 
11442
11516
 
11443
- class ToolTestToolRequestInputInvocationMode(Enum):
11444
- regular = 'regular'
11445
- conversation_simulation = 'conversation-simulation'
11446
-
11447
-
11448
- class ToolTestToolRequestInput(BaseModel):
11449
- input_parameters: Dict[str, Any] = Field(
11517
+ class ToolTestToolRequest(BaseModel):
11518
+ inputs: List[ToolInvokeToolVersionRequestInput] = Field(
11450
11519
  ...,
11451
- description='The input parameters for the tool invocation.',
11452
- title='Input Parameters',
11520
+ description='The list of inputs for the tool invocation.',
11521
+ max_length=10,
11522
+ min_length=1,
11523
+ title='Inputs',
11453
11524
  )
11454
- invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
11455
- ..., description='The mode of invocation.', title='Invocation Mode'
11525
+ commit_branch: str = Field(
11526
+ ...,
11527
+ description='The branch in the tools repo whose tip will be tested.',
11528
+ title='Commit Branch',
11529
+ )
11530
+ project_path: str = Field(
11531
+ ...,
11532
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11533
+ pattern='^[-\\w\\d_/]+$',
11534
+ title='Project Path',
11535
+ )
11536
+ required_envvars: Dict[str, str] = Field(
11537
+ ...,
11538
+ description='The environment variables required for the tool to run.',
11539
+ title='Required Envvars',
11540
+ )
11541
+ required_secret_envvars: Dict[str, str] = Field(
11542
+ ...,
11543
+ description='The secret environment variables required for the tool to run.',
11544
+ title='Required Secret Envvars',
11456
11545
  )
11457
11546
 
11458
11547
 
@@ -11529,7 +11618,7 @@ class UserGetMemoriesResponse(BaseModel):
11529
11618
  )
11530
11619
 
11531
11620
 
11532
- class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11621
+ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11533
11622
  num_conversations: int = Field(
11534
11623
  ...,
11535
11624
  description='The number of conversations the user has created.',
@@ -11999,7 +12088,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11999
12088
  title='Id',
12000
12089
  )
12001
12090
  message_type: Optional[List[MessageType]] = Field(
12002
- ['agent-message', 'external-event', 'user-message'],
12091
+ ['user-message', 'agent-message', 'external-event'],
12003
12092
  description='The type of messages to retrieve.',
12004
12093
  title='Message Type',
12005
12094
  )
@@ -14370,7 +14459,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14370
14459
 
14371
14460
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14372
14461
  dynamic_behavior_sets: List[
14373
- DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14462
+ DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14374
14463
  ] = Field(
14375
14464
  ...,
14376
14465
  description='The retrieved dynamic behavior sets.',
@@ -14394,16 +14483,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14394
14483
  )
14395
14484
 
14396
14485
 
14397
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14398
- dynamic_behavior_sets: List[
14399
- DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14400
- ] = Field(
14401
- ...,
14402
- description='The retrieved dynamic behavior sets.',
14403
- title='Dynamic Behavior Sets',
14404
- )
14405
-
14406
-
14407
14486
  class MetricCreateMetricRequest(BaseModel):
14408
14487
  name: str = Field(
14409
14488
  ...,
@@ -14640,7 +14719,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14640
14719
  )
14641
14720
 
14642
14721
 
14643
- class RoleModifyRoleRequestPermissionGrant(BaseModel):
14722
+ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14644
14723
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14645
14724
  ...,
14646
14725
  description='Whether this grant allows or denies the specified access.',
@@ -14657,6 +14736,31 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14657
14736
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14658
14737
 
14659
14738
 
14739
+ class RoleModifyRoleRequest(BaseModel):
14740
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14741
+ None,
14742
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
14743
+ )
14744
+ permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
14745
+ None,
14746
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14747
+ title='Permission Grants',
14748
+ )
14749
+ frontend_view: Optional[FrontendView] = Field(
14750
+ None,
14751
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14752
+ )
14753
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
14754
+ Field(
14755
+ default_factory=lambda: RoleModifyRoleRequestInheritedFrom.model_validate(
14756
+ {}
14757
+ ),
14758
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
14759
+ title='Inherited From',
14760
+ )
14761
+ )
14762
+
14763
+
14660
14764
  class ServiceCreateServiceRequestVersionSet(BaseModel):
14661
14765
  agent_version_number: Optional[int] = Field(
14662
14766
  ...,
@@ -14668,9 +14772,9 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
14668
14772
  description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14669
14773
  title='Service Hierarchical State Machine Version Number',
14670
14774
  )
14671
- llm_model_preferences: Dict[
14672
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14673
- ] = Field(..., title='Llm Model Preferences')
14775
+ llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
14776
+ Field(..., title='Llm Model Preferences')
14777
+ )
14674
14778
 
14675
14779
 
14676
14780
  class ServiceGetServicesResponse(BaseModel):
@@ -14748,7 +14852,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14748
14852
  ..., description='The description of the simulation unit test set.'
14749
14853
  )
14750
14854
  unit_test_runs: List[
14751
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14855
+ SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14752
14856
  ] = Field(
14753
14857
  ...,
14754
14858
  description='The unit test runs that are part of this set.',
@@ -14786,7 +14890,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14786
14890
 
14787
14891
  class SimulationGetSimulationScenariosResponse(BaseModel):
14788
14892
  simulation_scenarios: List[
14789
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14893
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14790
14894
  ] = Field(
14791
14895
  ...,
14792
14896
  description='The list of simulation scenarios.',
@@ -14834,16 +14938,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14834
14938
  )
14835
14939
 
14836
14940
 
14837
- class SimulationSearchSimulationScenariosResponse(BaseModel):
14838
- simulation_scenarios: List[
14839
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14840
- ] = Field(
14841
- ...,
14842
- description='The list of simulation scenarios.',
14843
- title='Simulation Scenarios',
14844
- )
14845
-
14846
-
14847
14941
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14848
14942
  simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
14849
14943
  ...,
@@ -14857,44 +14951,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
14857
14951
  )
14858
14952
 
14859
14953
 
14860
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
14861
- RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14862
- ):
14863
- root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14864
- Field(
14865
- ...,
14866
- description='The unit test runs that are part of this set.',
14867
- min_length=1,
14868
- title='Unit Test Runs',
14869
- )
14870
- )
14871
-
14872
-
14873
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14874
- name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14875
- None, description='The name of the simulation unit test set.'
14876
- )
14877
- description: Optional[
14878
- Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
14879
- ] = Field(
14880
- default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
14881
- {}
14882
- ),
14883
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14884
- title='Description',
14885
- )
14886
- unit_test_runs: Optional[
14887
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
14888
- ] = Field(
14889
- None,
14890
- description='The unit test runs that are part of this set.',
14891
- title='Unit Test Runs',
14892
- )
14893
- tags: Optional[Dict[str, Optional[str]]] = Field(
14894
- None, description='The tags of the simulation unit test set.', title='Tags'
14895
- )
14896
-
14897
-
14898
14954
  class ToolGetToolVersionsResponse(BaseModel):
14899
14955
  tool_versions: List[ToolVersionInstance] = Field(
14900
14956
  ...,
@@ -14936,7 +14992,7 @@ class ToolGetToolsResponse(BaseModel):
14936
14992
 
14937
14993
 
14938
14994
  class ToolInvokeToolVersionRequest(BaseModel):
14939
- inputs: List[ToolTestToolRequestInput] = Field(
14995
+ inputs: List[ToolInvokeToolVersionRequestInput] = Field(
14940
14996
  ...,
14941
14997
  description='The list of inputs for the tool invocation.',
14942
14998
  max_length=10,
@@ -14963,37 +15019,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14963
15019
  )
14964
15020
 
14965
15021
 
14966
- class ToolTestToolRequest(BaseModel):
14967
- inputs: List[ToolTestToolRequestInput] = Field(
14968
- ...,
14969
- description='The list of inputs for the tool invocation.',
14970
- max_length=10,
14971
- min_length=1,
14972
- title='Inputs',
14973
- )
14974
- commit_branch: str = Field(
14975
- ...,
14976
- description='The branch in the tools repo whose tip will be tested.',
14977
- title='Commit Branch',
14978
- )
14979
- project_path: str = Field(
14980
- ...,
14981
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
14982
- pattern='^[-\\w\\d_/]+$',
14983
- title='Project Path',
14984
- )
14985
- required_envvars: Dict[str, str] = Field(
14986
- ...,
14987
- description='The environment variables required for the tool to run.',
14988
- title='Required Envvars',
14989
- )
14990
- required_secret_envvars: Dict[str, str] = Field(
14991
- ...,
14992
- description='The secret environment variables required for the tool to run.',
14993
- title='Required Secret Envvars',
14994
- )
14995
-
14996
-
14997
15022
  ToolTestToolResponse = ToolInvokeToolVersionResponse
14998
15023
 
14999
15024
 
@@ -15050,7 +15075,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15050
15075
  ..., description='The last name of the user.', title='Last Name'
15051
15076
  )
15052
15077
  email: str = Field(..., description='Email of the user.', title='Email')
15053
- user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15078
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15054
15079
  ..., description="Statistics about the user's usage of the Amigo platform."
15055
15080
  )
15056
15081
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15156,7 +15181,7 @@ class ActionStateInput(BaseModel):
15156
15181
  Field(..., title='Boundary Constraints')
15157
15182
  )
15158
15183
  exit_conditions: List[
15159
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
15184
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
15160
15185
  ] = Field(..., title='Exit Conditions')
15161
15186
  action_tool_call_specs: List[ToolCallSpecInput] = Field(
15162
15187
  ..., title='Action Tool Call Specs'
@@ -15265,7 +15290,7 @@ class DecisionStateInput(BaseModel):
15265
15290
  type: Literal['decision'] = Field(..., title='Type')
15266
15291
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
15267
15292
  exit_conditions: List[
15268
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
15293
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
15269
15294
  ] = Field(..., title='Exit Conditions')
15270
15295
  decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15271
15296
  ..., title='Decision Guidelines'
@@ -15923,7 +15948,7 @@ class RoleCreateRoleRequest(BaseModel):
15923
15948
  description: str = Field(
15924
15949
  ..., description='A description about the role.', min_length=1
15925
15950
  )
15926
- permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15951
+ permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15927
15952
  ...,
15928
15953
  description='A list of permission grants associated with this role.',
15929
15954
  title='Permission Grants',
@@ -15949,31 +15974,6 @@ class RoleGetRolesResponse(BaseModel):
15949
15974
  )
15950
15975
 
15951
15976
 
15952
- class RoleModifyRoleRequest(BaseModel):
15953
- description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15954
- None,
15955
- description='A description about the role. Only updated if specified. This field is a mutable field.',
15956
- )
15957
- permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15958
- None,
15959
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15960
- title='Permission Grants',
15961
- )
15962
- frontend_view: Optional[FrontendView] = Field(
15963
- None,
15964
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
15965
- )
15966
- inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
15967
- Field(
15968
- default_factory=lambda: RoleModifyRoleRequestInheritedFrom.model_validate(
15969
- {}
15970
- ),
15971
- description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
15972
- title='Inherited From',
15973
- )
15974
- )
15975
-
15976
-
15977
15977
  class ServiceCreateServiceRequest(BaseModel):
15978
15978
  service_hierarchical_state_machine_id: str = Field(
15979
15979
  ...,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.94.0
3
+ Version: 0.95.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=V9LrsPXWSjmJjrzhBX2Jg7fwyt0bJwh_4Y1wHPk41Bc,139
1
+ amigo_sdk/__init__.py,sha256=5cOH-Byb-M6qVpMazfPvXGu8EJom5ckXkskVZg_HtAQ,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=rFQ0yRQ2P4AanO0unJKQENIEhdJhmAE1jDEuYPZnKQM,456886
9
+ amigo_sdk/generated/model.py,sha256=Q7nV9wi5eU51uTAhsl3FrKpH70-e-rZeszHPA_M-rgw,456879
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.94.0.dist-info/METADATA,sha256=o6UgzqxKnPOF1KVjeBZxQqFnzJhtkk4s8oDIVOwaa-k,8499
15
- amigo_sdk-0.94.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.94.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.94.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.94.0.dist-info/RECORD,,
14
+ amigo_sdk-0.95.0.dist-info/METADATA,sha256=AidypXmjCFe4OBJTqaOm2f86RLum4-3rvUdzjJSDTYs,8499
15
+ amigo_sdk-0.95.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.95.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.95.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.95.0.dist-info/RECORD,,