amigo_sdk 0.72.0__py3-none-any.whl → 0.74.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.72.0"
1
+ __version__ = "0.74.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-03T17:57:08+00:00
3
+ # timestamp: 2025-12-04T00:27:11+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1615,6 +1615,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
1615
1615
  )
1616
1616
 
1617
1617
 
1618
+ class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
1619
+ key: str = Field(..., title='Key')
1620
+ value: Optional[str] = Field(..., title='Value')
1621
+
1622
+
1618
1623
  AmigoLibMongoCollectionsMetricMetricUserInfo = (
1619
1624
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1620
1625
  )
@@ -1630,11 +1635,6 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
1630
1635
  deny = 'Deny'
1631
1636
 
1632
1637
 
1633
- class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
1634
- key: str = Field(..., title='Key')
1635
- value: Optional[str] = Field(..., title='Value')
1636
-
1637
-
1638
1638
  class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
1639
1639
  agent_version_number: Optional[int] = Field(
1640
1640
  ...,
@@ -1955,20 +1955,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1955
1955
  )
1956
1956
 
1957
1957
 
1958
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1959
- BaseModel
1960
- ):
1961
- id: str = Field(..., title='Id')
1962
- name: str = Field(..., title='Name')
1963
- is_active: bool = Field(..., title='Is Active')
1964
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1965
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1966
- created_at: AwareDatetime = Field(..., title='Created At')
1967
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1968
- updated_at: AwareDatetime = Field(..., title='Updated At')
1969
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1970
-
1971
-
1972
1958
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1973
1959
  applied_to_services_ids: List[str] = Field(
1974
1960
  ...,
@@ -1989,14 +1975,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1989
1975
  )
1990
1976
 
1991
1977
 
1992
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1993
- dynamic_behavior_sets: List[
1994
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1995
- ] = Field(
1996
- ...,
1997
- description='The retrieved dynamic behavior sets.',
1998
- title='Dynamic Behavior Sets',
1999
- )
1978
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1979
+ BaseModel
1980
+ ):
1981
+ id: str = Field(..., title='Id')
1982
+ name: str = Field(..., title='Name')
1983
+ is_active: bool = Field(..., title='Is Active')
1984
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1985
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1986
+ created_at: AwareDatetime = Field(..., title='Created At')
1987
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1988
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1989
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
2000
1990
 
2001
1991
 
2002
1992
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -11135,6 +11125,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11135
11125
  )
11136
11126
 
11137
11127
 
11128
+ class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11129
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11130
+ run_count: int = Field(
11131
+ ...,
11132
+ description='The number of times to run the unit test.',
11133
+ gt=0,
11134
+ title='Run Count',
11135
+ )
11136
+
11137
+
11138
11138
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11139
11139
  simulation_unit_test_set_id: str = Field(
11140
11140
  ...,
@@ -11435,13 +11435,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
11435
11435
  )
11436
11436
 
11437
11437
 
11438
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11439
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11440
- run_count: int = Field(
11441
- ...,
11442
- description='The number of times to run the unit test.',
11443
- gt=0,
11444
- title='Run Count',
11438
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
11439
+ RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11440
+ ):
11441
+ root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11442
+ Field(
11443
+ ...,
11444
+ description='The unit test runs that are part of this set.',
11445
+ min_length=1,
11446
+ title='Unit Test Runs',
11447
+ )
11448
+ )
11449
+
11450
+
11451
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11452
+ name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11453
+ None, description='The name of the simulation unit test set.'
11454
+ )
11455
+ description: Optional[
11456
+ Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
11457
+ ] = Field(
11458
+ {},
11459
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11460
+ title='Description',
11461
+ )
11462
+ unit_test_runs: Optional[
11463
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
11464
+ ] = Field(
11465
+ None,
11466
+ description='The unit test runs that are part of this set.',
11467
+ title='Unit Test Runs',
11468
+ )
11469
+ tags: Optional[Dict[str, Optional[str]]] = Field(
11470
+ None, description='The tags of the simulation unit test set.', title='Tags'
11445
11471
  )
11446
11472
 
11447
11473
 
@@ -11478,6 +11504,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11478
11504
  )
11479
11505
 
11480
11506
 
11507
+ class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
11508
+ regular = 'regular'
11509
+ conversation_simulation = 'conversation-simulation'
11510
+
11511
+
11512
+ class ToolInvokeToolVersionRequestInput(BaseModel):
11513
+ input_parameters: Dict[str, Any] = Field(
11514
+ ...,
11515
+ description='The input parameters for the tool invocation.',
11516
+ title='Input Parameters',
11517
+ )
11518
+ invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
11519
+ ..., description='The mode of invocation.', title='Invocation Mode'
11520
+ )
11521
+
11522
+
11481
11523
  class ToolModifyToolRequest(BaseModel):
11482
11524
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11483
11525
  None, description='A description of this tool. Only updates if not-null.'
@@ -11520,19 +11562,34 @@ class ToolPublishToolVersionResponse(BaseModel):
11520
11562
  )
11521
11563
 
11522
11564
 
11523
- class ToolTestToolRequestInputInvocationMode(Enum):
11524
- regular = 'regular'
11525
- conversation_simulation = 'conversation-simulation'
11526
-
11527
-
11528
- class ToolTestToolRequestInput(BaseModel):
11529
- input_parameters: Dict[str, Any] = Field(
11565
+ class ToolTestToolRequest(BaseModel):
11566
+ inputs: List[ToolInvokeToolVersionRequestInput] = Field(
11530
11567
  ...,
11531
- description='The input parameters for the tool invocation.',
11532
- title='Input Parameters',
11568
+ description='The list of inputs for the tool invocation.',
11569
+ max_length=10,
11570
+ min_length=1,
11571
+ title='Inputs',
11533
11572
  )
11534
- invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
11535
- ..., description='The mode of invocation.', title='Invocation Mode'
11573
+ commit_branch: str = Field(
11574
+ ...,
11575
+ description='The branch in the tools repo whose tip will be tested.',
11576
+ title='Commit Branch',
11577
+ )
11578
+ project_path: str = Field(
11579
+ ...,
11580
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11581
+ pattern='^[-\\w\\d_/]+$',
11582
+ title='Project Path',
11583
+ )
11584
+ required_envvars: Dict[str, str] = Field(
11585
+ ...,
11586
+ description='The environment variables required for the tool to run.',
11587
+ title='Required Envvars',
11588
+ )
11589
+ required_secret_envvars: Dict[str, str] = Field(
11590
+ ...,
11591
+ description='The secret environment variables required for the tool to run.',
11592
+ title='Required Secret Envvars',
11536
11593
  )
11537
11594
 
11538
11595
 
@@ -11604,7 +11661,7 @@ class UserGetMemoriesResponse(BaseModel):
11604
11661
  )
11605
11662
 
11606
11663
 
11607
- class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11664
+ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11608
11665
  num_conversations: int = Field(
11609
11666
  ...,
11610
11667
  description='The number of conversations the user has created.',
@@ -12043,7 +12100,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12043
12100
  [], description='The IDs of the messages to retrieve.', title='Id'
12044
12101
  )
12045
12102
  message_type: Optional[List[MessageType]] = Field(
12046
- ['user-message', 'external-event', 'agent-message'],
12103
+ ['agent-message', 'external-event', 'user-message'],
12047
12104
  description='The type of messages to retrieve.',
12048
12105
  title='Message Type',
12049
12106
  )
@@ -13849,7 +13906,7 @@ class ServiceInstance(BaseModel):
13849
13906
  agent_id: str = Field(
13850
13907
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13851
13908
  )
13852
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13909
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13853
13910
  ..., description='The tags of the service.', title='Tags'
13854
13911
  )
13855
13912
 
@@ -13902,7 +13959,7 @@ class SimulationUnitTestSet(BaseModel):
13902
13959
  description='Whether the unit test set has been deleted.',
13903
13960
  title='Is Deleted',
13904
13961
  )
13905
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13962
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13906
13963
  ..., description='The tags of the simulation unit test set.', title='Tags'
13907
13964
  )
13908
13965
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13941,7 +13998,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13941
13998
  description='Whether the unit test set has been deleted.',
13942
13999
  title='Is Deleted',
13943
14000
  )
13944
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14001
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13945
14002
  ..., description='The tags of the simulation unit test set.', title='Tags'
13946
14003
  )
13947
14004
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14057,7 +14114,7 @@ class ToolInstance(BaseModel):
14057
14114
  description='A list of encrypted environment variables that some versions of this tool uses.',
14058
14115
  title='Secret Envvars',
14059
14116
  )
14060
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14117
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14061
14118
  ..., description='The tags of the simulation persona.', title='Tags'
14062
14119
  )
14063
14120
 
@@ -14388,7 +14445,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14388
14445
 
14389
14446
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14390
14447
  dynamic_behavior_sets: List[
14391
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14448
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14392
14449
  ] = Field(
14393
14450
  ...,
14394
14451
  description='The retrieved dynamic behavior sets.',
@@ -14412,6 +14469,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14412
14469
  )
14413
14470
 
14414
14471
 
14472
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14473
+ dynamic_behavior_sets: List[
14474
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14475
+ ] = Field(
14476
+ ...,
14477
+ description='The retrieved dynamic behavior sets.',
14478
+ title='Dynamic Behavior Sets',
14479
+ )
14480
+
14481
+
14415
14482
  class MetricCreateMetricRequest(BaseModel):
14416
14483
  name: str = Field(
14417
14484
  ...,
@@ -14680,7 +14747,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14680
14747
  )
14681
14748
 
14682
14749
 
14683
- class RoleCreateRoleRequestPermissionGrant(BaseModel):
14750
+ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14684
14751
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14685
14752
  ...,
14686
14753
  description='Whether this grant allows or denies the specified access.',
@@ -14697,29 +14764,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14697
14764
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14698
14765
 
14699
14766
 
14700
- class RoleModifyRoleRequest(BaseModel):
14701
- description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14702
- None,
14703
- description='A description about the role. Only updated if specified. This field is a mutable field.',
14704
- )
14705
- permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
14706
- None,
14707
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14708
- title='Permission Grants',
14709
- )
14710
- frontend_view: Optional[FrontendView] = Field(
14711
- None,
14712
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14713
- )
14714
- inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
14715
- Field(
14716
- {},
14717
- description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
14718
- title='Inherited From',
14719
- )
14720
- )
14721
-
14722
-
14723
14767
  class ServiceCreateServiceRequestVersionSet(BaseModel):
14724
14768
  agent_version_number: Optional[int] = Field(
14725
14769
  ...,
@@ -14811,7 +14855,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14811
14855
  ..., description='The description of the simulation unit test set.'
14812
14856
  )
14813
14857
  unit_test_runs: List[
14814
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14858
+ SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14815
14859
  ] = Field(
14816
14860
  ...,
14817
14861
  description='The unit test runs that are part of this set.',
@@ -14928,42 +14972,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
14928
14972
  )
14929
14973
 
14930
14974
 
14931
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
14932
- RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14933
- ):
14934
- root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14935
- Field(
14936
- ...,
14937
- description='The unit test runs that are part of this set.',
14938
- min_length=1,
14939
- title='Unit Test Runs',
14940
- )
14941
- )
14942
-
14943
-
14944
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14945
- name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14946
- None, description='The name of the simulation unit test set.'
14947
- )
14948
- description: Optional[
14949
- Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
14950
- ] = Field(
14951
- {},
14952
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14953
- title='Description',
14954
- )
14955
- unit_test_runs: Optional[
14956
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
14957
- ] = Field(
14958
- None,
14959
- description='The unit test runs that are part of this set.',
14960
- title='Unit Test Runs',
14961
- )
14962
- tags: Optional[Dict[str, Optional[str]]] = Field(
14963
- None, description='The tags of the simulation unit test set.', title='Tags'
14964
- )
14965
-
14966
-
14967
14975
  class ToolGetToolVersionsResponse(BaseModel):
14968
14976
  tool_versions: List[ToolVersionInstance] = Field(
14969
14977
  ...,
@@ -15005,7 +15013,7 @@ class ToolGetToolsResponse(BaseModel):
15005
15013
 
15006
15014
 
15007
15015
  class ToolInvokeToolVersionRequest(BaseModel):
15008
- inputs: List[ToolTestToolRequestInput] = Field(
15016
+ inputs: List[ToolInvokeToolVersionRequestInput] = Field(
15009
15017
  ...,
15010
15018
  description='The list of inputs for the tool invocation.',
15011
15019
  max_length=10,
@@ -15026,37 +15034,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
15026
15034
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
15027
15035
 
15028
15036
 
15029
- class ToolTestToolRequest(BaseModel):
15030
- inputs: List[ToolTestToolRequestInput] = Field(
15031
- ...,
15032
- description='The list of inputs for the tool invocation.',
15033
- max_length=10,
15034
- min_length=1,
15035
- title='Inputs',
15036
- )
15037
- commit_branch: str = Field(
15038
- ...,
15039
- description='The branch in the tools repo whose tip will be tested.',
15040
- title='Commit Branch',
15041
- )
15042
- project_path: str = Field(
15043
- ...,
15044
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
15045
- pattern='^[-\\w\\d_/]+$',
15046
- title='Project Path',
15047
- )
15048
- required_envvars: Dict[str, str] = Field(
15049
- ...,
15050
- description='The environment variables required for the tool to run.',
15051
- title='Required Envvars',
15052
- )
15053
- required_secret_envvars: Dict[str, str] = Field(
15054
- ...,
15055
- description='The secret environment variables required for the tool to run.',
15056
- title='Required Secret Envvars',
15057
- )
15058
-
15059
-
15060
15037
  ToolTestToolResponse = ToolInvokeToolVersionResponse
15061
15038
 
15062
15039
 
@@ -15097,7 +15074,7 @@ class UserGetUserModelResponse(BaseModel):
15097
15074
  )
15098
15075
 
15099
15076
 
15100
- class UserGetUsersResponseUserInstance(BaseModel):
15077
+ class UserSearchUsersResponseUserInstance(BaseModel):
15101
15078
  org_id: str = Field(
15102
15079
  ...,
15103
15080
  description='The ID of the organization that this user belongs to.',
@@ -15113,7 +15090,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15113
15090
  ..., description='The last name of the user.', title='Last Name'
15114
15091
  )
15115
15092
  email: str = Field(..., description='Email of the user.', title='Email')
15116
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15093
+ user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15117
15094
  ..., description="Statistics about the user's usage of the Amigo platform."
15118
15095
  )
15119
15096
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15122,12 +15099,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
15122
15099
  )
15123
15100
 
15124
15101
 
15125
- class UserSearchUsersResponse(BaseModel):
15126
- users: List[UserGetUsersResponseUserInstance] = Field(
15127
- ..., description='Users in this organization.', title='Users'
15128
- )
15129
-
15130
-
15131
15102
  class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
15132
15103
  webhook_deliveries: List[WebhookDeliveryInstance] = Field(
15133
15104
  ..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
@@ -15373,7 +15344,7 @@ class Metric(BaseModel):
15373
15344
  additional_notes: Optional[str] = Field(
15374
15345
  ..., description='Additional notes about the metric.', title='Additional Notes'
15375
15346
  )
15376
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15347
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15377
15348
  ..., description='The tags of the metric.', title='Tags'
15378
15349
  )
15379
15350
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15443,7 +15414,7 @@ class MetricInstance(BaseModel):
15443
15414
  additional_notes: Optional[str] = Field(
15444
15415
  ..., description='Additional notes about the metric.', title='Additional Notes'
15445
15416
  )
15446
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15417
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15447
15418
  ..., description='The tags of the metric.', title='Tags'
15448
15419
  )
15449
15420
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15645,7 +15616,7 @@ class SimulationUnitTest(BaseModel):
15645
15616
  is_deleted: bool = Field(
15646
15617
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15647
15618
  )
15648
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15619
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15649
15620
  ..., description='The tags of the simulation persona.', title='Tags'
15650
15621
  )
15651
15622
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15690,7 +15661,7 @@ class SimulationUnitTestInstance(BaseModel):
15690
15661
  is_deleted: bool = Field(
15691
15662
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15692
15663
  )
15693
- tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15664
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15694
15665
  ..., description='The tags of the simulation persona.', title='Tags'
15695
15666
  )
15696
15667
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15990,7 +15961,7 @@ class RoleCreateRoleRequest(BaseModel):
15990
15961
  description: str = Field(
15991
15962
  ..., description='A description about the role.', min_length=1
15992
15963
  )
15993
- permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15964
+ permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15994
15965
  ...,
15995
15966
  description='A list of permission grants associated with this role.',
15996
15967
  title='Permission Grants',
@@ -16016,6 +15987,29 @@ class RoleGetRolesResponse(BaseModel):
16016
15987
  )
16017
15988
 
16018
15989
 
15990
+ class RoleModifyRoleRequest(BaseModel):
15991
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15992
+ None,
15993
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
15994
+ )
15995
+ permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15996
+ None,
15997
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15998
+ title='Permission Grants',
15999
+ )
16000
+ frontend_view: Optional[FrontendView] = Field(
16001
+ None,
16002
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
16003
+ )
16004
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
16005
+ Field(
16006
+ {},
16007
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
16008
+ title='Inherited From',
16009
+ )
16010
+ )
16011
+
16012
+
16019
16013
  class ServiceCreateServiceRequest(BaseModel):
16020
16014
  service_hierarchical_state_machine_id: str = Field(
16021
16015
  ...,
@@ -16216,7 +16210,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
16216
16210
 
16217
16211
 
16218
16212
  class UserGetUsersResponse(BaseModel):
16219
- users: List[UserGetUsersResponseUserInstance] = Field(
16213
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16220
16214
  ..., description='Users in this organization.', title='Users'
16221
16215
  )
16222
16216
  has_more: bool = Field(
@@ -16229,6 +16223,12 @@ class UserGetUsersResponse(BaseModel):
16229
16223
  )
16230
16224
 
16231
16225
 
16226
+ class UserSearchUsersResponse(BaseModel):
16227
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16228
+ ..., description='Users in this organization.', title='Users'
16229
+ )
16230
+
16231
+
16232
16232
  class SimulationUnitTestSetRunInstance(BaseModel):
16233
16233
  org_id: str = Field(..., title='Org Id')
16234
16234
  id: str = Field(..., title='Id')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.72.0
3
+ Version: 0.74.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=o8hL9L8iuXkmjt2KVEDsSYZmyb3rCvnOTcom9EGZ-tI,139
1
+ amigo_sdk/__init__.py,sha256=zcnT1jXMI4F2yOY5rFAyC_15LeisrPmDXMdxxNQMUZ0,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=ewNse-R58YNSfRi1RmRjdU9RU9twt9hPagRaLaOZT9g,456861
9
+ amigo_sdk/generated/model.py,sha256=A755nDbPWQIWas25oXKOalCz4X8W1rpSPGOGzsSKT68,456912
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.72.0.dist-info/METADATA,sha256=SRW_-63VqUM3Mcr4crq_m7c9Sjxe21Dpm1EJfOspMVI,8499
15
- amigo_sdk-0.72.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.72.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.72.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.72.0.dist-info/RECORD,,
14
+ amigo_sdk-0.74.0.dist-info/METADATA,sha256=AvRqlGXxUNwkNjwrCiEY4UuAnNjBXtHcV9xwTUbOiQI,8499
15
+ amigo_sdk-0.74.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.74.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.74.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.74.0.dist-info/RECORD,,