amigo_sdk 0.80.0__py3-none-any.whl → 0.82.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.80.0"
1
+ __version__ = "0.82.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-07T16:12:19+00:00
3
+ # timestamp: 2025-12-08T09:30:13+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1664,6 +1664,11 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
1664
1664
  )
1665
1665
 
1666
1666
 
1667
+ class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1668
+ key: str = Field(..., title='Key')
1669
+ value: Optional[str] = Field(..., title='Value')
1670
+
1671
+
1667
1672
  class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1668
1673
  BaseModel
1669
1674
  ):
@@ -1700,11 +1705,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
1700
1705
  )
1701
1706
 
1702
1707
 
1703
- class AmigoLibMongoCollectionsToolToolTag(BaseModel):
1704
- key: str = Field(..., title='Key')
1705
- value: Optional[str] = Field(..., title='Value')
1706
-
1707
-
1708
1708
  class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1709
1709
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1710
1710
  user_org_id: str = Field(
@@ -1956,20 +1956,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1956
1956
  )
1957
1957
 
1958
1958
 
1959
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1960
- BaseModel
1961
- ):
1962
- id: str = Field(..., title='Id')
1963
- name: str = Field(..., title='Name')
1964
- is_active: bool = Field(..., title='Is Active')
1965
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1966
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1967
- created_at: AwareDatetime = Field(..., title='Created At')
1968
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1969
- updated_at: AwareDatetime = Field(..., title='Updated At')
1970
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1971
-
1972
-
1973
1959
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1974
1960
  applied_to_services_ids: List[str] = Field(
1975
1961
  ...,
@@ -1990,14 +1976,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1990
1976
  )
1991
1977
 
1992
1978
 
1993
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1994
- dynamic_behavior_sets: List[
1995
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1996
- ] = Field(
1997
- ...,
1998
- description='The retrieved dynamic behavior sets.',
1999
- title='Dynamic Behavior Sets',
2000
- )
1979
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1980
+ BaseModel
1981
+ ):
1982
+ id: str = Field(..., title='Id')
1983
+ name: str = Field(..., title='Name')
1984
+ is_active: bool = Field(..., title='Is Active')
1985
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1986
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1987
+ created_at: AwareDatetime = Field(..., title='Created At')
1988
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1989
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1990
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
2001
1991
 
2002
1992
 
2003
1993
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -10952,6 +10942,13 @@ class RoleModifyRoleResponse(BaseModel):
10952
10942
  )
10953
10943
 
10954
10944
 
10945
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10946
+ llm_name: LLMType
10947
+ params: Optional[Dict[str, Any]] = Field(
10948
+ {}, description='LLM-specific parameters to use.', title='Params'
10949
+ )
10950
+
10951
+
10955
10952
  class ServiceCreateServiceResponse(BaseModel):
10956
10953
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10957
10954
 
@@ -11011,13 +11008,6 @@ class ServiceUpdateServiceRequest(BaseModel):
11011
11008
  )
11012
11009
 
11013
11010
 
11014
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
11015
- llm_name: LLMType
11016
- params: Optional[Dict[str, Any]] = Field(
11017
- {}, description='LLM-specific parameters to use.', title='Params'
11018
- )
11019
-
11020
-
11021
11011
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
11022
11012
  background: str = Field(
11023
11013
  ..., description='The background of the simulation persona.', min_length=1
@@ -11136,6 +11126,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11136
11126
  )
11137
11127
 
11138
11128
 
11129
+ class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11130
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11131
+ run_count: int = Field(
11132
+ ...,
11133
+ description='The number of times to run the unit test.',
11134
+ gt=0,
11135
+ title='Run Count',
11136
+ )
11137
+
11138
+
11139
11139
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11140
11140
  simulation_unit_test_set_id: str = Field(
11141
11141
  ...,
@@ -11226,37 +11226,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11226
11226
  )
11227
11227
 
11228
11228
 
11229
- class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11230
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11231
- name: str = Field(
11232
- ..., description='The name of the simulation scenario.', title='Name'
11233
- )
11234
- tags: Dict[str, Optional[str]] = Field(
11235
- ..., description='The tags of the simulation scenario.', title='Tags'
11236
- )
11237
- is_deleted: bool = Field(
11238
- ...,
11239
- description='Whether the simulation scenario is deleted.',
11240
- title='Is Deleted',
11241
- )
11242
- created_at: AwareDatetime = Field(
11243
- ...,
11244
- description='The timestamp when the simulation scenario was created.',
11245
- title='Created At',
11246
- )
11247
- creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11248
- Field(..., description='The user who created the simulation scenario.')
11249
- )
11250
- updated_at: AwareDatetime = Field(
11251
- ...,
11252
- description='The timestamp when the simulation scenario was last updated.',
11253
- title='Updated At',
11254
- )
11255
- updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11256
- Field(..., description='The user who last updated the simulation scenario.')
11257
- )
11258
-
11259
-
11260
11229
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11261
11230
  presigned_url: str = Field(
11262
11231
  ...,
@@ -11379,13 +11348,34 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
11379
11348
  )
11380
11349
 
11381
11350
 
11382
- class SimulationSearchSimulationScenariosResponse(BaseModel):
11383
- simulation_scenarios: List[
11384
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11385
- ] = Field(
11351
+ class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11352
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11353
+ name: str = Field(
11354
+ ..., description='The name of the simulation scenario.', title='Name'
11355
+ )
11356
+ tags: Dict[str, Optional[str]] = Field(
11357
+ ..., description='The tags of the simulation scenario.', title='Tags'
11358
+ )
11359
+ is_deleted: bool = Field(
11386
11360
  ...,
11387
- description='The list of simulation scenarios.',
11388
- title='Simulation Scenarios',
11361
+ description='Whether the simulation scenario is deleted.',
11362
+ title='Is Deleted',
11363
+ )
11364
+ created_at: AwareDatetime = Field(
11365
+ ...,
11366
+ description='The timestamp when the simulation scenario was created.',
11367
+ title='Created At',
11368
+ )
11369
+ creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11370
+ Field(..., description='The user who created the simulation scenario.')
11371
+ )
11372
+ updated_at: AwareDatetime = Field(
11373
+ ...,
11374
+ description='The timestamp when the simulation scenario was last updated.',
11375
+ title='Updated At',
11376
+ )
11377
+ updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11378
+ Field(..., description='The user who last updated the simulation scenario.')
11389
11379
  )
11390
11380
 
11391
11381
 
@@ -11446,13 +11436,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
11446
11436
  )
11447
11437
 
11448
11438
 
11449
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11450
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11451
- run_count: int = Field(
11452
- ...,
11453
- description='The number of times to run the unit test.',
11454
- gt=0,
11455
- title='Run Count',
11439
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
11440
+ RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11441
+ ):
11442
+ root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11443
+ Field(
11444
+ ...,
11445
+ description='The unit test runs that are part of this set.',
11446
+ min_length=1,
11447
+ title='Unit Test Runs',
11448
+ )
11449
+ )
11450
+
11451
+
11452
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11453
+ name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11454
+ None, description='The name of the simulation unit test set.'
11455
+ )
11456
+ description: Optional[
11457
+ Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
11458
+ ] = Field(
11459
+ {},
11460
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11461
+ title='Description',
11462
+ )
11463
+ unit_test_runs: Optional[
11464
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
11465
+ ] = Field(
11466
+ None,
11467
+ description='The unit test runs that are part of this set.',
11468
+ title='Unit Test Runs',
11469
+ )
11470
+ tags: Optional[Dict[str, Optional[str]]] = Field(
11471
+ None, description='The tags of the simulation unit test set.', title='Tags'
11456
11472
  )
11457
11473
 
11458
11474
 
@@ -12085,7 +12101,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12085
12101
  [], description='The IDs of the messages to retrieve.', title='Id'
12086
12102
  )
12087
12103
  message_type: Optional[List[MessageType]] = Field(
12088
- ['user-message', 'agent-message', 'external-event'],
12104
+ ['external-event', 'user-message', 'agent-message'],
12089
12105
  description='The type of messages to retrieve.',
12090
12106
  title='Message Type',
12091
12107
  )
@@ -13891,9 +13907,9 @@ class ServiceInstance(BaseModel):
13891
13907
  agent_id: str = Field(
13892
13908
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13893
13909
  )
13894
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
13895
- ..., description='The tags of the service.', title='Tags'
13896
- )
13910
+ tags: List[
13911
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13912
+ ] = Field(..., description='The tags of the service.', title='Tags')
13897
13913
 
13898
13914
 
13899
13915
  class SimulationConversationInvocationSource(BaseModel):
@@ -13944,7 +13960,9 @@ class SimulationUnitTestSet(BaseModel):
13944
13960
  description='Whether the unit test set has been deleted.',
13945
13961
  title='Is Deleted',
13946
13962
  )
13947
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
13963
+ tags: List[
13964
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13965
+ ] = Field(
13948
13966
  ..., description='The tags of the simulation unit test set.', title='Tags'
13949
13967
  )
13950
13968
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13983,7 +14001,9 @@ class SimulationUnitTestSetInstance(BaseModel):
13983
14001
  description='Whether the unit test set has been deleted.',
13984
14002
  title='Is Deleted',
13985
14003
  )
13986
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
14004
+ tags: List[
14005
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
14006
+ ] = Field(
13987
14007
  ..., description='The tags of the simulation unit test set.', title='Tags'
13988
14008
  )
13989
14009
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14099,9 +14119,9 @@ class ToolInstance(BaseModel):
14099
14119
  description='A list of encrypted environment variables that some versions of this tool uses.',
14100
14120
  title='Secret Envvars',
14101
14121
  )
14102
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
14103
- ..., description='The tags of the simulation persona.', title='Tags'
14104
- )
14122
+ tags: List[
14123
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
14124
+ ] = Field(..., description='The tags of the simulation persona.', title='Tags')
14105
14125
 
14106
14126
 
14107
14127
  class ToolVersionInstance(BaseModel):
@@ -14430,7 +14450,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14430
14450
 
14431
14451
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14432
14452
  dynamic_behavior_sets: List[
14433
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14453
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14434
14454
  ] = Field(
14435
14455
  ...,
14436
14456
  description='The retrieved dynamic behavior sets.',
@@ -14454,6 +14474,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14454
14474
  )
14455
14475
 
14456
14476
 
14477
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14478
+ dynamic_behavior_sets: List[
14479
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14480
+ ] = Field(
14481
+ ...,
14482
+ description='The retrieved dynamic behavior sets.',
14483
+ title='Dynamic Behavior Sets',
14484
+ )
14485
+
14486
+
14457
14487
  class MetricCreateMetricRequest(BaseModel):
14458
14488
  name: str = Field(
14459
14489
  ...,
@@ -14722,7 +14752,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14722
14752
  )
14723
14753
 
14724
14754
 
14725
- class RoleModifyRoleRequestPermissionGrant(BaseModel):
14755
+ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14726
14756
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14727
14757
  ...,
14728
14758
  description='Whether this grant allows or denies the specified access.',
@@ -14739,6 +14769,29 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14739
14769
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14740
14770
 
14741
14771
 
14772
+ class RoleModifyRoleRequest(BaseModel):
14773
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14774
+ None,
14775
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
14776
+ )
14777
+ permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
14778
+ None,
14779
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14780
+ title='Permission Grants',
14781
+ )
14782
+ frontend_view: Optional[FrontendView] = Field(
14783
+ None,
14784
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14785
+ )
14786
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
14787
+ Field(
14788
+ {},
14789
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
14790
+ title='Inherited From',
14791
+ )
14792
+ )
14793
+
14794
+
14742
14795
  class ServiceCreateServiceRequestVersionSet(BaseModel):
14743
14796
  agent_version_number: Optional[int] = Field(
14744
14797
  ...,
@@ -14750,9 +14803,9 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
14750
14803
  description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14751
14804
  title='Service Hierarchical State Machine Version Number',
14752
14805
  )
14753
- llm_model_preferences: Dict[
14754
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14755
- ] = Field(..., title='Llm Model Preferences')
14806
+ llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
14807
+ Field(..., title='Llm Model Preferences')
14808
+ )
14756
14809
 
14757
14810
 
14758
14811
  class ServiceGetServicesResponse(BaseModel):
@@ -14830,7 +14883,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14830
14883
  ..., description='The description of the simulation unit test set.'
14831
14884
  )
14832
14885
  unit_test_runs: List[
14833
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14886
+ SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14834
14887
  ] = Field(
14835
14888
  ...,
14836
14889
  description='The unit test runs that are part of this set.',
@@ -14868,7 +14921,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14868
14921
 
14869
14922
  class SimulationGetSimulationScenariosResponse(BaseModel):
14870
14923
  simulation_scenarios: List[
14871
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14924
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14872
14925
  ] = Field(
14873
14926
  ...,
14874
14927
  description='The list of simulation scenarios.',
@@ -14924,6 +14977,16 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
14924
14977
  )
14925
14978
 
14926
14979
 
14980
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
14981
+ simulation_scenarios: List[
14982
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14983
+ ] = Field(
14984
+ ...,
14985
+ description='The list of simulation scenarios.',
14986
+ title='Simulation Scenarios',
14987
+ )
14988
+
14989
+
14927
14990
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14928
14991
  simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
14929
14992
  ...,
@@ -14937,42 +15000,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
14937
15000
  )
14938
15001
 
14939
15002
 
14940
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
14941
- RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14942
- ):
14943
- root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14944
- Field(
14945
- ...,
14946
- description='The unit test runs that are part of this set.',
14947
- min_length=1,
14948
- title='Unit Test Runs',
14949
- )
14950
- )
14951
-
14952
-
14953
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14954
- name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14955
- None, description='The name of the simulation unit test set.'
14956
- )
14957
- description: Optional[
14958
- Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
14959
- ] = Field(
14960
- {},
14961
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14962
- title='Description',
14963
- )
14964
- unit_test_runs: Optional[
14965
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
14966
- ] = Field(
14967
- None,
14968
- description='The unit test runs that are part of this set.',
14969
- title='Unit Test Runs',
14970
- )
14971
- tags: Optional[Dict[str, Optional[str]]] = Field(
14972
- None, description='The tags of the simulation unit test set.', title='Tags'
14973
- )
14974
-
14975
-
14976
15003
  class ToolGetToolVersionsResponse(BaseModel):
14977
15004
  tool_versions: List[ToolVersionInstance] = Field(
14978
15005
  ...,
@@ -15341,9 +15368,9 @@ class Metric(BaseModel):
15341
15368
  additional_notes: Optional[str] = Field(
15342
15369
  ..., description='Additional notes about the metric.', title='Additional Notes'
15343
15370
  )
15344
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15345
- ..., description='The tags of the metric.', title='Tags'
15346
- )
15371
+ tags: List[
15372
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15373
+ ] = Field(..., description='The tags of the metric.', title='Tags')
15347
15374
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15348
15375
  ..., description='The user who created the metric.'
15349
15376
  )
@@ -15411,9 +15438,9 @@ class MetricInstance(BaseModel):
15411
15438
  additional_notes: Optional[str] = Field(
15412
15439
  ..., description='Additional notes about the metric.', title='Additional Notes'
15413
15440
  )
15414
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15415
- ..., description='The tags of the metric.', title='Tags'
15416
- )
15441
+ tags: List[
15442
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15443
+ ] = Field(..., description='The tags of the metric.', title='Tags')
15417
15444
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15418
15445
  ..., description='The user who created the metric.'
15419
15446
  )
@@ -15613,9 +15640,9 @@ class SimulationUnitTest(BaseModel):
15613
15640
  is_deleted: bool = Field(
15614
15641
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15615
15642
  )
15616
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15617
- ..., description='The tags of the simulation persona.', title='Tags'
15618
- )
15643
+ tags: List[
15644
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15645
+ ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15619
15646
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15620
15647
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15621
15648
 
@@ -15658,9 +15685,9 @@ class SimulationUnitTestInstance(BaseModel):
15658
15685
  is_deleted: bool = Field(
15659
15686
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15660
15687
  )
15661
- tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15662
- ..., description='The tags of the simulation persona.', title='Tags'
15663
- )
15688
+ tags: List[
15689
+ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15690
+ ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15664
15691
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15665
15692
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15666
15693
 
@@ -15958,7 +15985,7 @@ class RoleCreateRoleRequest(BaseModel):
15958
15985
  description: str = Field(
15959
15986
  ..., description='A description about the role.', min_length=1
15960
15987
  )
15961
- permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15988
+ permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15962
15989
  ...,
15963
15990
  description='A list of permission grants associated with this role.',
15964
15991
  title='Permission Grants',
@@ -15984,29 +16011,6 @@ class RoleGetRolesResponse(BaseModel):
15984
16011
  )
15985
16012
 
15986
16013
 
15987
- class RoleModifyRoleRequest(BaseModel):
15988
- description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15989
- None,
15990
- description='A description about the role. Only updated if specified. This field is a mutable field.',
15991
- )
15992
- permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15993
- None,
15994
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15995
- title='Permission Grants',
15996
- )
15997
- frontend_view: Optional[FrontendView] = Field(
15998
- None,
15999
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
16000
- )
16001
- inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
16002
- Field(
16003
- {},
16004
- description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
16005
- title='Inherited From',
16006
- )
16007
- )
16008
-
16009
-
16010
16014
  class ServiceCreateServiceRequest(BaseModel):
16011
16015
  service_hierarchical_state_machine_id: str = Field(
16012
16016
  ...,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.80.0
3
+ Version: 0.82.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=50kY2U6TcikpbngZxROTW-UmjxfQuA0q2UOHSgVpPgI,139
1
+ amigo_sdk/__init__.py,sha256=dj-hcGCgDw6XD9ePr7VjsMb8oyUaTD42dHOE6AwLBvg,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=ZC11JcyHGuxNn2g7NTOhS5t8yocZOzuV7qjK7fjnghQ,456703
9
+ amigo_sdk/generated/model.py,sha256=HSocajV8OlOfLZLTIXZ6pSV0c-J-S7RMloWzbjBO_wo,457037
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.80.0.dist-info/METADATA,sha256=jD45qCkSyJAbFOHD-zfNh52DX1SrJkBVhGL-hMZcskw,8499
15
- amigo_sdk-0.80.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.80.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.80.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.80.0.dist-info/RECORD,,
14
+ amigo_sdk-0.82.0.dist-info/METADATA,sha256=EKqYOIRT7tQ_cVz18yid3ZA1904bOEZi77OQJLS9UZk,8499
15
+ amigo_sdk-0.82.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.82.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.82.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.82.0.dist-info/RECORD,,