amigo_sdk 0.107.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.107.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-03T17:12:14+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
  ):
@@ -1494,11 +1500,6 @@ class MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo(
1494
1500
  pass
1495
1501
 
1496
1502
 
1497
- class MongoCollectionsToolToolTag(BaseModel):
1498
- key: str = Field(..., title='Key')
1499
- value: str | None = Field(..., title='Value')
1500
-
1501
-
1502
1503
  class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1503
1504
  major: int = Field(..., title='Major')
1504
1505
  minor: int = Field(..., title='Minor')
@@ -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
  ...,
@@ -10621,7 +10627,7 @@ class NextState9(NextState7):
10621
10627
  pass
10622
10628
 
10623
10629
 
10624
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
10630
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
10625
10631
  BaseModel
10626
10632
  ):
10627
10633
  description: str = Field(..., min_length=1)
@@ -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
  ...,
@@ -11003,6 +11015,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11003
11015
  )
11004
11016
 
11005
11017
 
11018
+ class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11019
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11020
+ run_count: int = Field(
11021
+ ...,
11022
+ description='The number of times to run the unit test.',
11023
+ gt=0,
11024
+ title='Run Count',
11025
+ )
11026
+
11027
+
11006
11028
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11007
11029
  simulation_unit_test_set_id: str = Field(
11008
11030
  ...,
@@ -11306,13 +11328,35 @@ class RunCount(RootModel[int]):
11306
11328
  )
11307
11329
 
11308
11330
 
11309
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11310
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11311
- run_count: int = Field(
11312
- ...,
11313
- description='The number of times to run the unit test.',
11314
- gt=0,
11315
- title='Run Count',
11331
+ class UnitTestRuns(
11332
+ RootModel[list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11333
+ ):
11334
+ root: list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11335
+ Field(
11336
+ ...,
11337
+ description='The unit test runs that are part of this set.',
11338
+ min_length=1,
11339
+ title='Unit Test Runs',
11340
+ )
11341
+ )
11342
+
11343
+
11344
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11345
+ name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11346
+ None, description='The name of the simulation unit test set.'
11347
+ )
11348
+ description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
11349
+ default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
11350
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11351
+ title='Description',
11352
+ )
11353
+ unit_test_runs: UnitTestRuns | None = Field(
11354
+ None,
11355
+ description='The unit test runs that are part of this set.',
11356
+ title='Unit Test Runs',
11357
+ )
11358
+ tags: dict[str, str | None] | None = Field(
11359
+ None, description='The tags of the simulation unit test set.', title='Tags'
11316
11360
  )
11317
11361
 
11318
11362
 
@@ -11349,22 +11393,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11349
11393
  )
11350
11394
 
11351
11395
 
11352
- class InvocationMode(Enum):
11353
- regular = 'regular'
11354
- conversation_simulation = 'conversation-simulation'
11355
-
11356
-
11357
- class ToolInvokeToolVersionRequestInput(BaseModel):
11358
- input_parameters: dict[str, Any] = Field(
11359
- ...,
11360
- description='The input parameters for the tool invocation.',
11361
- title='Input Parameters',
11362
- )
11363
- invocation_mode: InvocationMode = Field(
11364
- ..., description='The mode of invocation.', title='Invocation Mode'
11365
- )
11366
-
11367
-
11368
11396
  class ToolModifyToolRequest(BaseModel):
11369
11397
  description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11370
11398
  None, description='A description of this tool. Only updates if not-null.'
@@ -11404,34 +11432,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11404
11432
  )
11405
11433
 
11406
11434
 
11407
- class ToolTestToolRequest(BaseModel):
11408
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
11409
- ...,
11410
- description='The list of inputs for the tool invocation.',
11411
- max_length=10,
11412
- min_length=1,
11413
- title='Inputs',
11414
- )
11415
- commit_branch: str = Field(
11416
- ...,
11417
- description='The branch in the tools repo whose tip will be tested.',
11418
- title='Commit Branch',
11419
- )
11420
- project_path: str = Field(
11421
- ...,
11422
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11423
- pattern='^[-\\w\\d_/]+$',
11424
- title='Project Path',
11425
- )
11426
- required_envvars: dict[str, str] = Field(
11435
+ class InvocationMode(Enum):
11436
+ regular = 'regular'
11437
+ conversation_simulation = 'conversation-simulation'
11438
+
11439
+
11440
+ class ToolTestToolRequestInput(BaseModel):
11441
+ input_parameters: dict[str, Any] = Field(
11427
11442
  ...,
11428
- description='The environment variables required for the tool to run.',
11429
- title='Required Envvars',
11443
+ description='The input parameters for the tool invocation.',
11444
+ title='Input Parameters',
11430
11445
  )
11431
- required_secret_envvars: dict[str, str] = Field(
11432
- ...,
11433
- description='The secret environment variables required for the tool to run.',
11434
- title='Required Secret Envvars',
11446
+ invocation_mode: InvocationMode = Field(
11447
+ ..., description='The mode of invocation.', title='Invocation Mode'
11435
11448
  )
11436
11449
 
11437
11450
 
@@ -11953,7 +11966,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11953
11966
  title='Id',
11954
11967
  )
11955
11968
  message_type: list[MessageType] | None = Field(
11956
- ['external-event', 'agent-message', 'user-message'],
11969
+ ['external-event', 'user-message', 'agent-message'],
11957
11970
  description='The type of messages to retrieve.',
11958
11971
  title='Message Type',
11959
11972
  )
@@ -13199,7 +13212,7 @@ class ActionStateInput(BaseModel):
13199
13212
  ..., title='Boundary Constraints'
13200
13213
  )
13201
13214
  exit_conditions: list[
13202
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13215
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13203
13216
  ] = Field(..., title='Exit Conditions')
13204
13217
  action_tool_call_specs: list[
13205
13218
  OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
@@ -13351,7 +13364,7 @@ class DecisionStateInput(BaseModel):
13351
13364
  type: Literal['decision'] = Field(..., title='Type')
13352
13365
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
13353
13366
  exit_conditions: list[
13354
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13367
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13355
13368
  ] = Field(..., title='Exit Conditions')
13356
13369
  decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
13357
13370
  ..., title='Decision Guidelines'
@@ -13698,7 +13711,7 @@ class ServiceInstance(BaseModel):
13698
13711
  agent_id: str = Field(
13699
13712
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13700
13713
  )
13701
- tags: list[MongoCollectionsToolToolTag] = Field(
13714
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13702
13715
  ..., description='The tags of the service.', title='Tags'
13703
13716
  )
13704
13717
  keyterms: list[str] = Field(
@@ -13756,7 +13769,7 @@ class SimulationUnitTestSet(BaseModel):
13756
13769
  description='Whether the unit test set has been deleted.',
13757
13770
  title='Is Deleted',
13758
13771
  )
13759
- tags: list[MongoCollectionsToolToolTag] = Field(
13772
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13760
13773
  ..., description='The tags of the simulation unit test set.', title='Tags'
13761
13774
  )
13762
13775
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13793,7 +13806,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13793
13806
  description='Whether the unit test set has been deleted.',
13794
13807
  title='Is Deleted',
13795
13808
  )
13796
- tags: list[MongoCollectionsToolToolTag] = Field(
13809
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13797
13810
  ..., description='The tags of the simulation unit test set.', title='Tags'
13798
13811
  )
13799
13812
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13921,7 +13934,7 @@ class ToolInstance(BaseModel):
13921
13934
  description='A list of encrypted environment variables that some versions of this tool uses.',
13922
13935
  title='Secret Envvars',
13923
13936
  )
13924
- tags: list[MongoCollectionsToolToolTag] = Field(
13937
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13925
13938
  ..., description='The tags of the simulation persona.', title='Tags'
13926
13939
  )
13927
13940
 
@@ -14280,7 +14293,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14280
14293
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14281
14294
  min_length=1,
14282
14295
  )
14283
- user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14296
+ user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14284
14297
  ...,
14285
14298
  description='User dimensions for the organization.',
14286
14299
  title='User Dimensions',
@@ -14450,17 +14463,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
14450
14463
  )
14451
14464
 
14452
14465
 
14453
- class UserDimensions(
14454
- RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14455
- ):
14456
- root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14457
- ...,
14458
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14459
- min_length=1,
14460
- title='User Dimensions',
14461
- )
14462
-
14463
-
14464
14466
  class OrganizationModifyOrganizationRequest(BaseModel):
14465
14467
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14466
14468
  None,
@@ -14514,10 +14516,6 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14514
14516
  )
14515
14517
 
14516
14518
 
14517
- class RoleCreateRoleRequestPermissionGrant(PermissionGrantInstance):
14518
- pass
14519
-
14520
-
14521
14519
  class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14522
14520
  user_id: str = Field(
14523
14521
  ...,
@@ -14542,20 +14540,8 @@ class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14542
14540
  )
14543
14541
 
14544
14542
 
14545
- class RoleModifyRoleRequest(BaseModel):
14546
- description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14547
- None,
14548
- description='A description about the role. Only updated if specified. This field is a mutable field.',
14549
- )
14550
- permission_grants: list[RoleCreateRoleRequestPermissionGrant] | None = Field(
14551
- None,
14552
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14553
- title='Permission Grants',
14554
- )
14555
- frontend_view: FrontendView | None = Field(
14556
- None,
14557
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14558
- )
14543
+ class RoleModifyRoleRequestPermissionGrant(PermissionGrantInstance):
14544
+ pass
14559
14545
 
14560
14546
 
14561
14547
  class ServiceGetServicesResponse(BaseModel):
@@ -14643,7 +14629,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14643
14629
  ..., description='The description of the simulation unit test set.'
14644
14630
  )
14645
14631
  unit_test_runs: list[
14646
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14632
+ SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14647
14633
  ] = Field(
14648
14634
  ...,
14649
14635
  description='The unit test runs that are part of this set.',
@@ -14757,38 +14743,6 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
14757
14743
  pass
14758
14744
 
14759
14745
 
14760
- class UnitTestRuns(
14761
- RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14762
- ):
14763
- root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14764
- Field(
14765
- ...,
14766
- description='The unit test runs that are part of this set.',
14767
- min_length=1,
14768
- title='Unit Test Runs',
14769
- )
14770
- )
14771
-
14772
-
14773
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14774
- name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14775
- None, description='The name of the simulation unit test set.'
14776
- )
14777
- description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
14778
- default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
14779
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14780
- title='Description',
14781
- )
14782
- unit_test_runs: UnitTestRuns | None = Field(
14783
- None,
14784
- description='The unit test runs that are part of this set.',
14785
- title='Unit Test Runs',
14786
- )
14787
- tags: dict[str, str | None] | None = Field(
14788
- None, description='The tags of the simulation unit test set.', title='Tags'
14789
- )
14790
-
14791
-
14792
14746
  class ToolGetToolVersionsResponse(BaseModel):
14793
14747
  tool_versions: list[ToolVersionInstance] = Field(
14794
14748
  ...,
@@ -14830,7 +14784,7 @@ class ToolGetToolsResponse(BaseModel):
14830
14784
 
14831
14785
 
14832
14786
  class ToolInvokeToolVersionRequest(BaseModel):
14833
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
14787
+ inputs: list[ToolTestToolRequestInput] = Field(
14834
14788
  ...,
14835
14789
  description='The list of inputs for the tool invocation.',
14836
14790
  max_length=10,
@@ -14854,6 +14808,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14854
14808
  deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
14855
14809
 
14856
14810
 
14811
+ class ToolTestToolRequest(BaseModel):
14812
+ inputs: list[ToolTestToolRequestInput] = Field(
14813
+ ...,
14814
+ description='The list of inputs for the tool invocation.',
14815
+ max_length=10,
14816
+ min_length=1,
14817
+ title='Inputs',
14818
+ )
14819
+ commit_branch: str = Field(
14820
+ ...,
14821
+ description='The branch in the tools repo whose tip will be tested.',
14822
+ title='Commit Branch',
14823
+ )
14824
+ project_path: str = Field(
14825
+ ...,
14826
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
14827
+ pattern='^[-\\w\\d_/]+$',
14828
+ title='Project Path',
14829
+ )
14830
+ required_envvars: dict[str, str] = Field(
14831
+ ...,
14832
+ description='The environment variables required for the tool to run.',
14833
+ title='Required Envvars',
14834
+ )
14835
+ required_secret_envvars: dict[str, str] = Field(
14836
+ ...,
14837
+ description='The secret environment variables required for the tool to run.',
14838
+ title='Required Secret Envvars',
14839
+ )
14840
+
14841
+
14857
14842
  class ToolTestToolResponse(ToolInvokeToolVersionResponse):
14858
14843
  pass
14859
14844
 
@@ -15053,7 +15038,7 @@ class Metric(BaseModel):
15053
15038
  additional_notes: str | None = Field(
15054
15039
  ..., description='Additional notes about the metric.', title='Additional Notes'
15055
15040
  )
15056
- tags: list[MongoCollectionsToolToolTag] = Field(
15041
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15057
15042
  ..., description='The tags of the metric.', title='Tags'
15058
15043
  )
15059
15044
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15126,7 +15111,7 @@ class MetricInstance(BaseModel):
15126
15111
  additional_notes: str | None = Field(
15127
15112
  ..., description='Additional notes about the metric.', title='Additional Notes'
15128
15113
  )
15129
- tags: list[MongoCollectionsToolToolTag] = Field(
15114
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15130
15115
  ..., description='The tags of the metric.', title='Tags'
15131
15116
  )
15132
15117
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15222,7 +15207,7 @@ class SimulationUnitTest(BaseModel):
15222
15207
  is_deleted: bool = Field(
15223
15208
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15224
15209
  )
15225
- tags: list[MongoCollectionsToolToolTag] = Field(
15210
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15226
15211
  ..., description='The tags of the simulation persona.', title='Tags'
15227
15212
  )
15228
15213
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15267,7 +15252,7 @@ class SimulationUnitTestInstance(BaseModel):
15267
15252
  is_deleted: bool = Field(
15268
15253
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15269
15254
  )
15270
- tags: list[MongoCollectionsToolToolTag] = Field(
15255
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15271
15256
  ..., description='The tags of the simulation persona.', title='Tags'
15272
15257
  )
15273
15258
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15552,7 +15537,7 @@ class RoleCreateRoleRequest(BaseModel):
15552
15537
  description: str = Field(
15553
15538
  ..., description='A description about the role.', min_length=1
15554
15539
  )
15555
- permission_grants: list[RoleCreateRoleRequestPermissionGrant] = Field(
15540
+ permission_grants: list[RoleModifyRoleRequestPermissionGrant] = Field(
15556
15541
  ...,
15557
15542
  description='A list of permission grants associated with this role.',
15558
15543
  title='Permission Grants',
@@ -15586,6 +15571,22 @@ class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
15586
15571
  )
15587
15572
 
15588
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
+
15589
15590
  class ServiceCreateServiceRequest(BaseModel):
15590
15591
  service_hierarchical_state_machine_id: str = Field(
15591
15592
  ...,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.107.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=Hn2Ts9KOST-mFilQSMUOjbRIFVwTg9-cgE3qsJdcvvc,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=JdWVsjH-VLzCO7zKut2BMm5UMG16VKEqCrasxBXwtMc,448670
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.107.0.dist-info/METADATA,sha256=aRlOi7aj2kkl1h8lEJemE3ncAIpHrE6w1Y7ve6IFIRE,8500
19
- amigo_sdk-0.107.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.107.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.107.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.107.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,,