amigo_sdk 0.108.0__py3-none-any.whl → 0.109.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.108.0"
1
+ __version__ = "0.109.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: 2026-02-03T19:01:46+00:00
3
+ # timestamp: 2026-02-03T19:54:09+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -468,6 +468,7 @@ class LLMType(Enum):
468
468
  azure_gpt_5_nano_2025_08_07 = 'azure_gpt-5-nano-2025-08-07'
469
469
  azure_gpt_5_1_2025_11_13 = 'azure_gpt-5.1-2025-11-13'
470
470
  azure_gpt_5_2_2025_12_11 = 'azure_gpt-5.2-2025-12-11'
471
+ openai_gpt_5_nano_2025_08_07 = 'openai_gpt-5-nano-2025-08-07'
471
472
  openai_gpt_5_2_2025_12_11 = 'openai_gpt-5.2-2025-12-11'
472
473
  google_claude_sonnet_4_5_20250929 = 'google_claude-sonnet-4-5@20250929'
473
474
  aws_claude_sonnet_4_5_20250929 = 'aws_claude-sonnet-4-5-20250929'
@@ -1376,6 +1377,11 @@ class MongoCollectionsDynamicBehaviorSetVersionDynamicBehaviorSetVersionChangeTo
1376
1377
  )
1377
1378
 
1378
1379
 
1380
+ class MongoCollectionsMetricMetricTag(BaseModel):
1381
+ key: str = Field(..., title='Key')
1382
+ value: str | None = Field(..., title='Value')
1383
+
1384
+
1379
1385
  class MongoCollectionsMetricMetricUserInfo(
1380
1386
  MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1381
1387
  ):
@@ -1388,11 +1394,6 @@ class MongoCollectionsMetricEvaluationResultMetricEvaluationResultManualEvaluati
1388
1394
  pass
1389
1395
 
1390
1396
 
1391
- class MongoCollectionsServiceServiceTag(BaseModel):
1392
- key: str = Field(..., title='Key')
1393
- value: str | None = Field(..., title='Value')
1394
-
1395
-
1396
1397
  class MongoCollectionsServiceServiceVersionSet(BaseModel):
1397
1398
  agent_version_number: int | None = Field(
1398
1399
  ...,
@@ -1763,18 +1764,6 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
1763
1764
  )
1764
1765
 
1765
1766
 
1766
- class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction(
1767
- BaseModel
1768
- ):
1769
- type: Literal['inject-instruction'] = Field(..., title='Type')
1770
- instruction: str = Field(..., min_length=1)
1771
- overrides_instructions: bool = Field(
1772
- ...,
1773
- description='During injection, whether the original instruction of the state is overriden with this instruction.',
1774
- title='Overrides Instructions',
1775
- )
1776
-
1777
-
1778
1767
  class DynamicBehaviorSetCreateDynamicBehaviorSetResponse(BaseModel):
1779
1768
  dynamic_behavior_set_id: str = Field(
1780
1769
  ...,
@@ -1789,6 +1778,18 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
1789
1778
  pass
1790
1779
 
1791
1780
 
1781
+ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction(
1782
+ BaseModel
1783
+ ):
1784
+ type: Literal['inject-instruction'] = Field(..., title='Type')
1785
+ instruction: str = Field(..., min_length=1)
1786
+ overrides_instructions: bool = Field(
1787
+ ...,
1788
+ description='During injection, whether the original instruction of the state is overriden with this instruction.',
1789
+ title='Overrides Instructions',
1790
+ )
1791
+
1792
+
1792
1793
  class DynamicBehaviorSetCreateDynamicBehaviorSetVersionResponse(BaseModel):
1793
1794
  new_version_number: int = Field(
1794
1795
  ...,
@@ -10590,6 +10591,11 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10590
10591
  )
10591
10592
 
10592
10593
 
10594
+ class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10595
+ description: str = Field(..., min_length=1)
10596
+ tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10597
+
10598
+
10593
10599
  class OrganizationCreateOrganizationResponse(BaseModel):
10594
10600
  org_id: str = Field(
10595
10601
  ...,
@@ -10764,17 +10770,23 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10764
10770
  )
10765
10771
 
10766
10772
 
10773
+ class UserDimensions(
10774
+ RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
10775
+ ):
10776
+ root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
10777
+ ...,
10778
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10779
+ min_length=1,
10780
+ title='User Dimensions',
10781
+ )
10782
+
10783
+
10767
10784
  class OrganizationModifyOrganizationRequestPreferences(
10768
10785
  OrganizationCreateOrganizationRequestPreferences
10769
10786
  ):
10770
10787
  pass
10771
10788
 
10772
10789
 
10773
- class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10774
- description: str = Field(..., min_length=1)
10775
- tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10776
-
10777
-
10778
10790
  class RoleAssignRoleRequest(BaseModel):
10779
10791
  user_id: str = Field(
10780
10792
  ...,
@@ -11070,40 +11082,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11070
11082
  )
11071
11083
 
11072
11084
 
11073
- class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11074
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11075
- name: str = Field(
11076
- ..., description='The name of the simulation persona.', title='Name'
11077
- )
11078
- role: str = Field(
11079
- ..., description='The role of the simulation persona.', title='Role'
11080
- )
11081
- tags: dict[str, str | None] = Field(
11082
- ..., description='The tags of the simulation persona.', title='Tags'
11083
- )
11084
- is_deleted: bool = Field(
11085
- ...,
11086
- description='Whether the simulation persona is deleted.',
11087
- title='Is Deleted',
11088
- )
11089
- created_at: AwareDatetime = Field(
11090
- ...,
11091
- description='The timestamp when the simulation persona was created.',
11092
- title='Created At',
11093
- )
11094
- creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11095
- ..., description='The user who created the simulation persona.'
11096
- )
11097
- updated_at: AwareDatetime = Field(
11098
- ...,
11099
- description='The timestamp when the simulation persona was last updated.',
11100
- title='Updated At',
11101
- )
11102
- updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11103
- ..., description='The user who last updated the simulation persona.'
11104
- )
11105
-
11106
-
11107
11085
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11108
11086
  simulation_scenario_versions: list[SimulationScenarioVersion] = Field(
11109
11087
  ...,
@@ -11223,11 +11201,37 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11223
11201
  )
11224
11202
 
11225
11203
 
11226
- class SimulationSearchSimulationPersonasResponse(BaseModel):
11227
- simulation_personas: list[
11228
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11229
- ] = Field(
11230
- ..., description='The list of simulation personas.', title='Simulation Personas'
11204
+ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11205
+ id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11206
+ name: str = Field(
11207
+ ..., description='The name of the simulation persona.', title='Name'
11208
+ )
11209
+ role: str = Field(
11210
+ ..., description='The role of the simulation persona.', title='Role'
11211
+ )
11212
+ tags: dict[str, str | None] = Field(
11213
+ ..., description='The tags of the simulation persona.', title='Tags'
11214
+ )
11215
+ is_deleted: bool = Field(
11216
+ ...,
11217
+ description='Whether the simulation persona is deleted.',
11218
+ title='Is Deleted',
11219
+ )
11220
+ created_at: AwareDatetime = Field(
11221
+ ...,
11222
+ description='The timestamp when the simulation persona was created.',
11223
+ title='Created At',
11224
+ )
11225
+ creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11226
+ ..., description='The user who created the simulation persona.'
11227
+ )
11228
+ updated_at: AwareDatetime = Field(
11229
+ ...,
11230
+ description='The timestamp when the simulation persona was last updated.',
11231
+ title='Updated At',
11232
+ )
11233
+ updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11234
+ ..., description='The user who last updated the simulation persona.'
11231
11235
  )
11232
11236
 
11233
11237
 
@@ -11528,6 +11532,31 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11528
11532
  )
11529
11533
 
11530
11534
 
11535
+ class UserSearchUsersResponseUserInstance(BaseModel):
11536
+ org_id: str = Field(
11537
+ ...,
11538
+ description='The ID of the organization that this user belongs to.',
11539
+ title='Org Id',
11540
+ )
11541
+ user_id: str = Field(
11542
+ ..., description='The identifier of the user.', title='User Id'
11543
+ )
11544
+ first_name: str = Field(
11545
+ ..., description='The first name of the user.', title='First Name'
11546
+ )
11547
+ last_name: str = Field(
11548
+ ..., description='The last name of the user.', title='Last Name'
11549
+ )
11550
+ email: str = Field(..., description='Email of the user.', title='Email')
11551
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
11552
+ ..., description="Statistics about the user's usage of the Amigo platform."
11553
+ )
11554
+ role: str = Field(..., description='The ID of the role of the user.', title='Role')
11555
+ preferences: MongoCollectionsUserUserPreferences = Field(
11556
+ ..., description='The preferences of the user.'
11557
+ )
11558
+
11559
+
11531
11560
  class UserSignInWithApiKeyResponse(BaseModel):
11532
11561
  id_token: str = Field(
11533
11562
  ...,
@@ -11937,7 +11966,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11937
11966
  title='Id',
11938
11967
  )
11939
11968
  message_type: list[MessageType] | None = Field(
11940
- ['external-event', 'agent-message', 'user-message'],
11969
+ ['external-event', 'user-message', 'agent-message'],
11941
11970
  description='The type of messages to retrieve.',
11942
11971
  title='Message Type',
11943
11972
  )
@@ -13682,7 +13711,7 @@ class ServiceInstance(BaseModel):
13682
13711
  agent_id: str = Field(
13683
13712
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13684
13713
  )
13685
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13714
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13686
13715
  ..., description='The tags of the service.', title='Tags'
13687
13716
  )
13688
13717
  keyterms: list[str] = Field(
@@ -13740,7 +13769,7 @@ class SimulationUnitTestSet(BaseModel):
13740
13769
  description='Whether the unit test set has been deleted.',
13741
13770
  title='Is Deleted',
13742
13771
  )
13743
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13772
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13744
13773
  ..., description='The tags of the simulation unit test set.', title='Tags'
13745
13774
  )
13746
13775
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13777,7 +13806,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13777
13806
  description='Whether the unit test set has been deleted.',
13778
13807
  title='Is Deleted',
13779
13808
  )
13780
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13809
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13781
13810
  ..., description='The tags of the simulation unit test set.', title='Tags'
13782
13811
  )
13783
13812
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13905,7 +13934,7 @@ class ToolInstance(BaseModel):
13905
13934
  description='A list of encrypted environment variables that some versions of this tool uses.',
13906
13935
  title='Secret Envvars',
13907
13936
  )
13908
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13937
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13909
13938
  ..., description='The tags of the simulation persona.', title='Tags'
13910
13939
  )
13911
13940
 
@@ -14264,7 +14293,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14264
14293
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14265
14294
  min_length=1,
14266
14295
  )
14267
- user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14296
+ user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14268
14297
  ...,
14269
14298
  description='User dimensions for the organization.',
14270
14299
  title='User Dimensions',
@@ -14434,17 +14463,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
14434
14463
  )
14435
14464
 
14436
14465
 
14437
- class UserDimensions(
14438
- RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14439
- ):
14440
- root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14441
- ...,
14442
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14443
- min_length=1,
14444
- title='User Dimensions',
14445
- )
14446
-
14447
-
14448
14466
  class OrganizationModifyOrganizationRequest(BaseModel):
14449
14467
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14450
14468
  None,
@@ -14498,10 +14516,6 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14498
14516
  )
14499
14517
 
14500
14518
 
14501
- class RoleCreateRoleRequestPermissionGrant(PermissionGrantInstance):
14502
- pass
14503
-
14504
-
14505
14519
  class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14506
14520
  user_id: str = Field(
14507
14521
  ...,
@@ -14526,20 +14540,8 @@ class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14526
14540
  )
14527
14541
 
14528
14542
 
14529
- class RoleModifyRoleRequest(BaseModel):
14530
- description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14531
- None,
14532
- description='A description about the role. Only updated if specified. This field is a mutable field.',
14533
- )
14534
- permission_grants: list[RoleCreateRoleRequestPermissionGrant] | None = Field(
14535
- None,
14536
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14537
- title='Permission Grants',
14538
- )
14539
- frontend_view: FrontendView | None = Field(
14540
- None,
14541
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14542
- )
14543
+ class RoleModifyRoleRequestPermissionGrant(PermissionGrantInstance):
14544
+ pass
14543
14545
 
14544
14546
 
14545
14547
  class ServiceGetServicesResponse(BaseModel):
@@ -14641,7 +14643,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14641
14643
 
14642
14644
  class SimulationGetSimulationPersonasResponse(BaseModel):
14643
14645
  simulation_personas: list[
14644
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14646
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14645
14647
  ] = Field(
14646
14648
  ..., description='The list of simulation personas.', title='Simulation Personas'
14647
14649
  )
@@ -14709,6 +14711,14 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14709
14711
  )
14710
14712
 
14711
14713
 
14714
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
14715
+ simulation_personas: list[
14716
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14717
+ ] = Field(
14718
+ ..., description='The list of simulation personas.', title='Simulation Personas'
14719
+ )
14720
+
14721
+
14712
14722
  class SimulationSearchSimulationScenariosResponse(BaseModel):
14713
14723
  simulation_scenarios: list[
14714
14724
  SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
@@ -14870,33 +14880,22 @@ class UserGetUserModelResponse(BaseModel):
14870
14880
  )
14871
14881
 
14872
14882
 
14873
- class UserGetUsersResponseUserInstance(BaseModel):
14874
- org_id: str = Field(
14875
- ...,
14876
- description='The ID of the organization that this user belongs to.',
14877
- title='Org Id',
14878
- )
14879
- user_id: str = Field(
14880
- ..., description='The identifier of the user.', title='User Id'
14881
- )
14882
- first_name: str = Field(
14883
- ..., description='The first name of the user.', title='First Name'
14884
- )
14885
- last_name: str = Field(
14886
- ..., description='The last name of the user.', title='Last Name'
14883
+ class UserGetUsersResponse(BaseModel):
14884
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14885
+ ..., description='Users in this organization.', title='Users'
14887
14886
  )
14888
- email: str = Field(..., description='Email of the user.', title='Email')
14889
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
14890
- ..., description="Statistics about the user's usage of the Amigo platform."
14887
+ has_more: bool = Field(
14888
+ ..., description='Whether there are more users to retrieve.', title='Has More'
14891
14889
  )
14892
- role: str = Field(..., description='The ID of the role of the user.', title='Role')
14893
- preferences: MongoCollectionsUserUserPreferences = Field(
14894
- ..., description='The preferences of the user.'
14890
+ continuation_token: int | None = Field(
14891
+ ...,
14892
+ description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
14893
+ title='Continuation Token',
14895
14894
  )
14896
14895
 
14897
14896
 
14898
14897
  class UserSearchUsersResponse(BaseModel):
14899
- users: list[UserGetUsersResponseUserInstance] = Field(
14898
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14900
14899
  ..., description='Users in this organization.', title='Users'
14901
14900
  )
14902
14901
 
@@ -15039,7 +15038,7 @@ class Metric(BaseModel):
15039
15038
  additional_notes: str | None = Field(
15040
15039
  ..., description='Additional notes about the metric.', title='Additional Notes'
15041
15040
  )
15042
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15041
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15043
15042
  ..., description='The tags of the metric.', title='Tags'
15044
15043
  )
15045
15044
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15112,7 +15111,7 @@ class MetricInstance(BaseModel):
15112
15111
  additional_notes: str | None = Field(
15113
15112
  ..., description='Additional notes about the metric.', title='Additional Notes'
15114
15113
  )
15115
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15114
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15116
15115
  ..., description='The tags of the metric.', title='Tags'
15117
15116
  )
15118
15117
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15208,7 +15207,7 @@ class SimulationUnitTest(BaseModel):
15208
15207
  is_deleted: bool = Field(
15209
15208
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15210
15209
  )
15211
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15210
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15212
15211
  ..., description='The tags of the simulation persona.', title='Tags'
15213
15212
  )
15214
15213
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15253,7 +15252,7 @@ class SimulationUnitTestInstance(BaseModel):
15253
15252
  is_deleted: bool = Field(
15254
15253
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15255
15254
  )
15256
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15255
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15257
15256
  ..., description='The tags of the simulation persona.', title='Tags'
15258
15257
  )
15259
15258
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15388,7 +15387,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersion(BaseModel)
15388
15387
  )
15389
15388
  actions: list[
15390
15389
  Annotated[
15391
- DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15390
+ DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15392
15391
  | DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolCandidatesAction,
15393
15392
  Field(discriminator='type'),
15394
15393
  ]
@@ -15409,7 +15408,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequest(BaseModel):
15409
15408
  )
15410
15409
  actions: list[
15411
15410
  Annotated[
15412
- DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15411
+ DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15413
15412
  | DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidatesAction,
15414
15413
  Field(discriminator='type'),
15415
15414
  ]
@@ -15538,7 +15537,7 @@ class RoleCreateRoleRequest(BaseModel):
15538
15537
  description: str = Field(
15539
15538
  ..., description='A description about the role.', min_length=1
15540
15539
  )
15541
- permission_grants: list[RoleCreateRoleRequestPermissionGrant] = Field(
15540
+ permission_grants: list[RoleModifyRoleRequestPermissionGrant] = Field(
15542
15541
  ...,
15543
15542
  description='A list of permission grants associated with this role.',
15544
15543
  title='Permission Grants',
@@ -15572,6 +15571,22 @@ class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
15572
15571
  )
15573
15572
 
15574
15573
 
15574
+ class RoleModifyRoleRequest(BaseModel):
15575
+ description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
15576
+ None,
15577
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
15578
+ )
15579
+ permission_grants: list[RoleModifyRoleRequestPermissionGrant] | None = Field(
15580
+ None,
15581
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15582
+ title='Permission Grants',
15583
+ )
15584
+ frontend_view: FrontendView | None = Field(
15585
+ None,
15586
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
15587
+ )
15588
+
15589
+
15575
15590
  class ServiceCreateServiceRequest(BaseModel):
15576
15591
  service_hierarchical_state_machine_id: str = Field(
15577
15592
  ...,
@@ -15777,20 +15792,6 @@ class ToolSearchToolInvocationsResponse(BaseModel):
15777
15792
  )
15778
15793
 
15779
15794
 
15780
- class UserGetUsersResponse(BaseModel):
15781
- users: list[UserGetUsersResponseUserInstance] = Field(
15782
- ..., description='Users in this organization.', title='Users'
15783
- )
15784
- has_more: bool = Field(
15785
- ..., description='Whether there are more users to retrieve.', title='Has More'
15786
- )
15787
- continuation_token: int | None = Field(
15788
- ...,
15789
- description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
15790
- title='Continuation Token',
15791
- )
15792
-
15793
-
15794
15795
  class ServiceHierarchicalStateMachineInstance(BaseModel):
15795
15796
  id: str = Field(..., description='The ID of the state machine version.', title='Id')
15796
15797
  org_id: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.108.0
3
+ Version: 0.109.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -2,7 +2,7 @@ scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  scripts/aliases.json,sha256=c1_bkZyvNDQ8iMrKtUuZQqdP87GdLnRPrb3wjX533eQ,322
3
3
  scripts/check.py,sha256=ikFavw1IjX51FNjO-kIzXjYdep3on0dKZHYvPElPFtc,2872
4
4
  scripts/gen_models.py,sha256=c4J_gHYQIBL3CcKg5z8oUusLvPePytfvLdZ7STHBcNk,3553
5
- amigo_sdk/__init__.py,sha256=byESMm4cj5NxKcMw9_FZaagSYSxtMYiw3VC8aUykd5Y,140
5
+ amigo_sdk/__init__.py,sha256=rO5MZzslnWheO_CqeWF3yb7vFzKiKID8adpSMDTbN48,140
6
6
  amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
7
7
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
8
8
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -10,13 +10,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
10
10
  amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
11
11
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
12
12
  amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
13
- amigo_sdk/generated/model.py,sha256=RPlpd9p-57eN8tcRlSGbUvkXrBYv_WizD3pzuFwPRlM,448694
13
+ amigo_sdk/generated/model.py,sha256=odS_Apfmq8utIL9uYJW2rtxX67SYlW99jboacdgK44I,448739
14
14
  amigo_sdk/resources/conversation.py,sha256=X47PbPA6NqdkqXgxAPOjlO1E0W7t695tn1tPWSikMOk,14807
15
15
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
16
16
  amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
17
17
  amigo_sdk/resources/user.py,sha256=P14lN-3fmIvELUjn_vpSaYpNsK-xd8zNmUV_KfcZPAU,4138
18
- amigo_sdk-0.108.0.dist-info/METADATA,sha256=rCwBKZxJ2ydNksuC22LFF03mOXgQKT2TH95u9OxtiZw,8500
19
- amigo_sdk-0.108.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.108.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.108.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.108.0.dist-info/RECORD,,
18
+ amigo_sdk-0.109.0.dist-info/METADATA,sha256=kRZ3AaZ66vlAdgD90iW44Ja7tq2w06diTzgXPhaTRMw,8500
19
+ amigo_sdk-0.109.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.109.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.109.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.109.0.dist-info/RECORD,,