amigo_sdk 0.82.0__py3-none-any.whl → 0.83.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.82.0"
1
+ __version__ = "0.83.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-08T09:30:13+00:00
3
+ # timestamp: 2025-12-08T21:06:36+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1616,6 +1616,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
1616
1616
  )
1617
1617
 
1618
1618
 
1619
+ class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
1620
+ key: str = Field(..., title='Key')
1621
+ value: Optional[str] = Field(..., title='Value')
1622
+
1623
+
1619
1624
  AmigoLibMongoCollectionsMetricMetricUserInfo = (
1620
1625
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1621
1626
  )
@@ -1664,11 +1669,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
1664
1669
  )
1665
1670
 
1666
1671
 
1667
- class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1668
- key: str = Field(..., title='Key')
1669
- value: Optional[str] = Field(..., title='Value')
1670
-
1671
-
1672
1672
  class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1673
1673
  BaseModel
1674
1674
  ):
@@ -1705,6 +1705,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
1705
1705
  )
1706
1706
 
1707
1707
 
1708
+ class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1709
+ major: int = Field(..., title='Major')
1710
+ minor: int = Field(..., title='Minor')
1711
+ patch: int = Field(..., title='Patch')
1712
+
1713
+
1708
1714
  class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1709
1715
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1710
1716
  user_org_id: str = Field(
@@ -1712,12 +1718,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1712
1718
  )
1713
1719
 
1714
1720
 
1715
- class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
1716
- major: int = Field(..., title='Major')
1717
- minor: int = Field(..., title='Minor')
1718
- patch: int = Field(..., title='Patch')
1719
-
1720
-
1721
1721
  class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
1722
1722
  enable_response_recommendation: Optional[bool] = Field(
1723
1723
  False,
@@ -11195,6 +11195,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11195
11195
  )
11196
11196
 
11197
11197
 
11198
+ class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11199
+ id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11200
+ name: str = Field(
11201
+ ..., description='The name of the simulation persona.', title='Name'
11202
+ )
11203
+ role: str = Field(
11204
+ ..., description='The role of the simulation persona.', title='Role'
11205
+ )
11206
+ tags: Dict[str, Optional[str]] = Field(
11207
+ ..., description='The tags of the simulation persona.', title='Tags'
11208
+ )
11209
+ is_deleted: bool = Field(
11210
+ ...,
11211
+ description='Whether the simulation persona is deleted.',
11212
+ title='Is Deleted',
11213
+ )
11214
+ created_at: AwareDatetime = Field(
11215
+ ...,
11216
+ description='The timestamp when the simulation persona was created.',
11217
+ title='Created At',
11218
+ )
11219
+ creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11220
+ ..., description='The user who created the simulation persona.'
11221
+ )
11222
+ updated_at: AwareDatetime = Field(
11223
+ ...,
11224
+ description='The timestamp when the simulation persona was last updated.',
11225
+ title='Updated At',
11226
+ )
11227
+ updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
11228
+ Field(..., description='The user who last updated the simulation persona.')
11229
+ )
11230
+
11231
+
11198
11232
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11199
11233
  simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
11200
11234
  ...,
@@ -11226,6 +11260,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11226
11260
  )
11227
11261
 
11228
11262
 
11263
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11264
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11265
+ name: str = Field(
11266
+ ..., description='The name of the simulation scenario.', title='Name'
11267
+ )
11268
+ tags: Dict[str, Optional[str]] = Field(
11269
+ ..., description='The tags of the simulation scenario.', title='Tags'
11270
+ )
11271
+ is_deleted: bool = Field(
11272
+ ...,
11273
+ description='Whether the simulation scenario is deleted.',
11274
+ title='Is Deleted',
11275
+ )
11276
+ created_at: AwareDatetime = Field(
11277
+ ...,
11278
+ description='The timestamp when the simulation scenario was created.',
11279
+ title='Created At',
11280
+ )
11281
+ creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11282
+ Field(..., description='The user who created the simulation scenario.')
11283
+ )
11284
+ updated_at: AwareDatetime = Field(
11285
+ ...,
11286
+ description='The timestamp when the simulation scenario was last updated.',
11287
+ title='Updated At',
11288
+ )
11289
+ updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11290
+ Field(..., description='The user who last updated the simulation scenario.')
11291
+ )
11292
+
11293
+
11229
11294
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11230
11295
  presigned_url: str = Field(
11231
11296
  ...,
@@ -11314,68 +11379,21 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11314
11379
  )
11315
11380
 
11316
11381
 
11317
- class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11318
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11319
- name: str = Field(
11320
- ..., description='The name of the simulation persona.', title='Name'
11321
- )
11322
- role: str = Field(
11323
- ..., description='The role of the simulation persona.', title='Role'
11324
- )
11325
- tags: Dict[str, Optional[str]] = Field(
11326
- ..., description='The tags of the simulation persona.', title='Tags'
11327
- )
11328
- is_deleted: bool = Field(
11329
- ...,
11330
- description='Whether the simulation persona is deleted.',
11331
- title='Is Deleted',
11332
- )
11333
- created_at: AwareDatetime = Field(
11334
- ...,
11335
- description='The timestamp when the simulation persona was created.',
11336
- title='Created At',
11337
- )
11338
- creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11339
- ..., description='The user who created the simulation persona.'
11340
- )
11341
- updated_at: AwareDatetime = Field(
11342
- ...,
11343
- description='The timestamp when the simulation persona was last updated.',
11344
- title='Updated At',
11345
- )
11346
- updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
11347
- Field(..., description='The user who last updated the simulation persona.')
11382
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
11383
+ simulation_personas: List[
11384
+ SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11385
+ ] = Field(
11386
+ ..., description='The list of simulation personas.', title='Simulation Personas'
11348
11387
  )
11349
11388
 
11350
11389
 
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(
11360
- ...,
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(
11390
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11391
+ simulation_scenarios: List[
11392
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11393
+ ] = Field(
11373
11394
  ...,
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.')
11395
+ description='The list of simulation scenarios.',
11396
+ title='Simulation Scenarios',
11379
11397
  )
11380
11398
 
11381
11399
 
@@ -12101,7 +12119,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12101
12119
  [], description='The IDs of the messages to retrieve.', title='Id'
12102
12120
  )
12103
12121
  message_type: Optional[List[MessageType]] = Field(
12104
- ['external-event', 'user-message', 'agent-message'],
12122
+ ['user-message', 'agent-message', 'external-event'],
12105
12123
  description='The type of messages to retrieve.',
12106
12124
  title='Message Type',
12107
12125
  )
@@ -13907,9 +13925,9 @@ class ServiceInstance(BaseModel):
13907
13925
  agent_id: str = Field(
13908
13926
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13909
13927
  )
13910
- tags: List[
13911
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13912
- ] = Field(..., description='The tags of the service.', title='Tags')
13928
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13929
+ ..., description='The tags of the service.', title='Tags'
13930
+ )
13913
13931
 
13914
13932
 
13915
13933
  class SimulationConversationInvocationSource(BaseModel):
@@ -13960,9 +13978,7 @@ class SimulationUnitTestSet(BaseModel):
13960
13978
  description='Whether the unit test set has been deleted.',
13961
13979
  title='Is Deleted',
13962
13980
  )
13963
- tags: List[
13964
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13965
- ] = Field(
13981
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13966
13982
  ..., description='The tags of the simulation unit test set.', title='Tags'
13967
13983
  )
13968
13984
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14001,9 +14017,7 @@ class SimulationUnitTestSetInstance(BaseModel):
14001
14017
  description='Whether the unit test set has been deleted.',
14002
14018
  title='Is Deleted',
14003
14019
  )
14004
- tags: List[
14005
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
14006
- ] = Field(
14020
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14007
14021
  ..., description='The tags of the simulation unit test set.', title='Tags'
14008
14022
  )
14009
14023
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14119,9 +14133,9 @@ class ToolInstance(BaseModel):
14119
14133
  description='A list of encrypted environment variables that some versions of this tool uses.',
14120
14134
  title='Secret Envvars',
14121
14135
  )
14122
- tags: List[
14123
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
14124
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
14136
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14137
+ ..., description='The tags of the simulation persona.', title='Tags'
14138
+ )
14125
14139
 
14126
14140
 
14127
14141
  class ToolVersionInstance(BaseModel):
@@ -14134,7 +14148,7 @@ class ToolVersionInstance(BaseModel):
14134
14148
  description='The ID of the tool that this version belongs to.',
14135
14149
  title='Tool Id',
14136
14150
  )
14137
- version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
14151
+ version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
14138
14152
  ..., description='The version of the tool.'
14139
14153
  )
14140
14154
  required_envvars: List[str] = Field(
@@ -14752,7 +14766,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14752
14766
  )
14753
14767
 
14754
14768
 
14755
- class RoleCreateRoleRequestPermissionGrant(BaseModel):
14769
+ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14756
14770
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14757
14771
  ...,
14758
14772
  description='Whether this grant allows or denies the specified access.',
@@ -14769,29 +14783,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14769
14783
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14770
14784
 
14771
14785
 
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
-
14795
14786
  class ServiceCreateServiceRequestVersionSet(BaseModel):
14796
14787
  agent_version_number: Optional[int] = Field(
14797
14788
  ...,
@@ -14897,7 +14888,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14897
14888
 
14898
14889
  class SimulationGetSimulationPersonasResponse(BaseModel):
14899
14890
  simulation_personas: List[
14900
- SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14891
+ SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14901
14892
  ] = Field(
14902
14893
  ..., description='The list of simulation personas.', title='Simulation Personas'
14903
14894
  )
@@ -14921,7 +14912,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14921
14912
 
14922
14913
  class SimulationGetSimulationScenariosResponse(BaseModel):
14923
14914
  simulation_scenarios: List[
14924
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14915
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14925
14916
  ] = Field(
14926
14917
  ...,
14927
14918
  description='The list of simulation scenarios.',
@@ -14969,24 +14960,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14969
14960
  )
14970
14961
 
14971
14962
 
14972
- class SimulationSearchSimulationPersonasResponse(BaseModel):
14973
- simulation_personas: List[
14974
- SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14975
- ] = Field(
14976
- ..., description='The list of simulation personas.', title='Simulation Personas'
14977
- )
14978
-
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
-
14990
14963
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14991
14964
  simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
14992
14965
  ...,
@@ -15102,7 +15075,7 @@ class UserGetUserModelResponse(BaseModel):
15102
15075
  )
15103
15076
 
15104
15077
 
15105
- class UserSearchUsersResponseUserInstance(BaseModel):
15078
+ class UserGetUsersResponseUserInstance(BaseModel):
15106
15079
  org_id: str = Field(
15107
15080
  ...,
15108
15081
  description='The ID of the organization that this user belongs to.',
@@ -15127,6 +15100,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
15127
15100
  )
15128
15101
 
15129
15102
 
15103
+ class UserSearchUsersResponse(BaseModel):
15104
+ users: List[UserGetUsersResponseUserInstance] = Field(
15105
+ ..., description='Users in this organization.', title='Users'
15106
+ )
15107
+
15108
+
15130
15109
  class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
15131
15110
  webhook_deliveries: List[WebhookDeliveryInstance] = Field(
15132
15111
  ..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
@@ -15368,9 +15347,9 @@ class Metric(BaseModel):
15368
15347
  additional_notes: Optional[str] = Field(
15369
15348
  ..., description='Additional notes about the metric.', title='Additional Notes'
15370
15349
  )
15371
- tags: List[
15372
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15373
- ] = Field(..., description='The tags of the metric.', title='Tags')
15350
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15351
+ ..., description='The tags of the metric.', title='Tags'
15352
+ )
15374
15353
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15375
15354
  ..., description='The user who created the metric.'
15376
15355
  )
@@ -15438,9 +15417,9 @@ class MetricInstance(BaseModel):
15438
15417
  additional_notes: Optional[str] = Field(
15439
15418
  ..., description='Additional notes about the metric.', title='Additional Notes'
15440
15419
  )
15441
- tags: List[
15442
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15443
- ] = Field(..., description='The tags of the metric.', title='Tags')
15420
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15421
+ ..., description='The tags of the metric.', title='Tags'
15422
+ )
15444
15423
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15445
15424
  ..., description='The user who created the metric.'
15446
15425
  )
@@ -15640,9 +15619,9 @@ class SimulationUnitTest(BaseModel):
15640
15619
  is_deleted: bool = Field(
15641
15620
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15642
15621
  )
15643
- tags: List[
15644
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15645
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15622
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15623
+ ..., description='The tags of the simulation persona.', title='Tags'
15624
+ )
15646
15625
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15647
15626
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15648
15627
 
@@ -15685,9 +15664,9 @@ class SimulationUnitTestInstance(BaseModel):
15685
15664
  is_deleted: bool = Field(
15686
15665
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15687
15666
  )
15688
- tags: List[
15689
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15690
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15667
+ tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15668
+ ..., description='The tags of the simulation persona.', title='Tags'
15669
+ )
15691
15670
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15692
15671
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15693
15672
 
@@ -15985,7 +15964,7 @@ class RoleCreateRoleRequest(BaseModel):
15985
15964
  description: str = Field(
15986
15965
  ..., description='A description about the role.', min_length=1
15987
15966
  )
15988
- permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15967
+ permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15989
15968
  ...,
15990
15969
  description='A list of permission grants associated with this role.',
15991
15970
  title='Permission Grants',
@@ -16011,6 +15990,29 @@ class RoleGetRolesResponse(BaseModel):
16011
15990
  )
16012
15991
 
16013
15992
 
15993
+ class RoleModifyRoleRequest(BaseModel):
15994
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15995
+ None,
15996
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
15997
+ )
15998
+ permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15999
+ None,
16000
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
16001
+ title='Permission Grants',
16002
+ )
16003
+ frontend_view: Optional[FrontendView] = Field(
16004
+ None,
16005
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
16006
+ )
16007
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
16008
+ Field(
16009
+ {},
16010
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
16011
+ title='Inherited From',
16012
+ )
16013
+ )
16014
+
16015
+
16014
16016
  class ServiceCreateServiceRequest(BaseModel):
16015
16017
  service_hierarchical_state_machine_id: str = Field(
16016
16018
  ...,
@@ -16175,7 +16177,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
16175
16177
  )
16176
16178
 
16177
16179
 
16178
- class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16180
+ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16179
16181
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
16180
16182
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
16181
16183
  created_at: Optional[AwareDatetime] = Field(None, title='Created At')
@@ -16197,13 +16199,21 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16197
16199
  tool_id: str = Field(
16198
16200
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
16199
16201
  )
16200
- tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
16202
+ tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
16201
16203
  ..., description='The version of the tool that was invoked.'
16202
16204
  )
16203
16205
 
16204
16206
 
16207
+ class ToolSearchToolInvocationsResponse(BaseModel):
16208
+ tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16209
+ Field(
16210
+ ..., description='The list of tool invocations.', title='Tool Invocations'
16211
+ )
16212
+ )
16213
+
16214
+
16205
16215
  class UserGetUsersResponse(BaseModel):
16206
- users: List[UserSearchUsersResponseUserInstance] = Field(
16216
+ users: List[UserGetUsersResponseUserInstance] = Field(
16207
16217
  ..., description='Users in this organization.', title='Users'
16208
16218
  )
16209
16219
  has_more: bool = Field(
@@ -16216,12 +16226,6 @@ class UserGetUsersResponse(BaseModel):
16216
16226
  )
16217
16227
 
16218
16228
 
16219
- class UserSearchUsersResponse(BaseModel):
16220
- users: List[UserSearchUsersResponseUserInstance] = Field(
16221
- ..., description='Users in this organization.', title='Users'
16222
- )
16223
-
16224
-
16225
16229
  class SimulationUnitTestSetRunInstance(BaseModel):
16226
16230
  org_id: str = Field(..., title='Org Id')
16227
16231
  id: str = Field(..., title='Id')
@@ -16321,7 +16325,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
16321
16325
 
16322
16326
 
16323
16327
  class ToolGetToolInvocationsResponse(BaseModel):
16324
- tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16328
+ tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16325
16329
  Field(
16326
16330
  ..., description='The list of tool invocations.', title='Tool Invocations'
16327
16331
  )
@@ -16336,11 +16340,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
16336
16340
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
16337
16341
  title='Continuation Token',
16338
16342
  )
16339
-
16340
-
16341
- class ToolSearchToolInvocationsResponse(BaseModel):
16342
- tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16343
- Field(
16344
- ..., description='The list of tool invocations.', title='Tool Invocations'
16345
- )
16346
- )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.82.0
3
+ Version: 0.83.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=dj-hcGCgDw6XD9ePr7VjsMb8oyUaTD42dHOE6AwLBvg,139
1
+ amigo_sdk/__init__.py,sha256=ejvu2iLBDLHgcFbaJ3OaRgmIa1a-PVOuUG_A24y2c50,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=HSocajV8OlOfLZLTIXZ6pSV0c-J-S7RMloWzbjBO_wo,457037
9
+ amigo_sdk/generated/model.py,sha256=mCqm3l-X31C2vx6fHbWLWSLnmAiBR6DZCAI0pfLOLak,456721
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.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,,
14
+ amigo_sdk-0.83.0.dist-info/METADATA,sha256=_z08PMQd2EMWDeDKnjx8KGES_WITEAMHPnN5BRNpbYQ,8499
15
+ amigo_sdk-0.83.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.83.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.83.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.83.0.dist-info/RECORD,,