amigo_sdk 0.109.0__py3-none-any.whl → 0.110.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.109.0"
1
+ __version__ = "0.110.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:54:09+00:00
3
+ # timestamp: 2026-02-03T20:14:33+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1377,11 +1377,6 @@ class MongoCollectionsDynamicBehaviorSetVersionDynamicBehaviorSetVersionChangeTo
1377
1377
  )
1378
1378
 
1379
1379
 
1380
- class MongoCollectionsMetricMetricTag(BaseModel):
1381
- key: str = Field(..., title='Key')
1382
- value: str | None = Field(..., title='Value')
1383
-
1384
-
1385
1380
  class MongoCollectionsMetricMetricUserInfo(
1386
1381
  MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1387
1382
  ):
@@ -1460,6 +1455,11 @@ class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1460
1455
  pass
1461
1456
 
1462
1457
 
1458
+ class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1459
+ key: str = Field(..., title='Key')
1460
+ value: str | None = Field(..., title='Value')
1461
+
1462
+
1463
1463
  class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1464
1464
  BaseModel
1465
1465
  ):
@@ -1500,12 +1500,6 @@ class MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo(
1500
1500
  pass
1501
1501
 
1502
1502
 
1503
- class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1504
- major: int = Field(..., title='Major')
1505
- minor: int = Field(..., title='Minor')
1506
- patch: int = Field(..., title='Patch')
1507
-
1508
-
1509
1503
  class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1510
1504
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1511
1505
  user_org_id: str = Field(
@@ -1513,6 +1507,12 @@ class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1513
1507
  )
1514
1508
 
1515
1509
 
1510
+ class MongoCollectionsToolVersionToolVersionVersion(BaseModel):
1511
+ major: int = Field(..., title='Major')
1512
+ minor: int = Field(..., title='Minor')
1513
+ patch: int = Field(..., title='Patch')
1514
+
1515
+
1516
1516
  class MongoCollectionsUserUserPreferences(BaseModel):
1517
1517
  enable_response_recommendation: bool | None = Field(
1518
1518
  False,
@@ -1816,20 +1816,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1816
1816
  )
1817
1817
 
1818
1818
 
1819
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1820
- BaseModel
1821
- ):
1822
- id: str = Field(..., title='Id')
1823
- name: str = Field(..., title='Name')
1824
- is_active: bool = Field(..., title='Is Active')
1825
- applied_to_services: list[str] = Field(..., title='Applied To Services')
1826
- tags: dict[str, str | None] = Field(..., title='Tags')
1827
- created_at: AwareDatetime = Field(..., title='Created At')
1828
- creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1829
- updated_at: AwareDatetime = Field(..., title='Updated At')
1830
- updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1831
-
1832
-
1833
1819
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1834
1820
  applied_to_services_ids: list[str] = Field(
1835
1821
  ...,
@@ -1850,14 +1836,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1850
1836
  )
1851
1837
 
1852
1838
 
1853
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1854
- dynamic_behavior_sets: list[
1855
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1856
- ] = Field(
1857
- ...,
1858
- description='The retrieved dynamic behavior sets.',
1859
- title='Dynamic Behavior Sets',
1860
- )
1839
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1840
+ BaseModel
1841
+ ):
1842
+ id: str = Field(..., title='Id')
1843
+ name: str = Field(..., title='Name')
1844
+ is_active: bool = Field(..., title='Is Active')
1845
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1846
+ tags: dict[str, str | None] = Field(..., title='Tags')
1847
+ created_at: AwareDatetime = Field(..., title='Created At')
1848
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1849
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1850
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1861
1851
 
1862
1852
 
1863
1853
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10591,11 +10581,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10591
10581
  )
10592
10582
 
10593
10583
 
10594
- class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10595
- description: str = Field(..., min_length=1)
10596
- tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10597
-
10598
-
10599
10584
  class OrganizationCreateOrganizationResponse(BaseModel):
10600
10585
  org_id: str = Field(
10601
10586
  ...,
@@ -10770,23 +10755,17 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10770
10755
  )
10771
10756
 
10772
10757
 
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
-
10784
10758
  class OrganizationModifyOrganizationRequestPreferences(
10785
10759
  OrganizationCreateOrganizationRequestPreferences
10786
10760
  ):
10787
10761
  pass
10788
10762
 
10789
10763
 
10764
+ class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10765
+ description: str = Field(..., min_length=1)
10766
+ tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10767
+
10768
+
10790
10769
  class RoleAssignRoleRequest(BaseModel):
10791
10770
  user_id: str = Field(
10792
10771
  ...,
@@ -10828,6 +10807,13 @@ class RoleModifyRoleResponse(BaseModel):
10828
10807
  )
10829
10808
 
10830
10809
 
10810
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10811
+ llm_name: LLMType
10812
+ params: dict[str, Any] | None = Field(
10813
+ {}, description='LLM-specific parameters to use.', title='Params'
10814
+ )
10815
+
10816
+
10831
10817
  class ServiceCreateServiceResponse(BaseModel):
10832
10818
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10833
10819
 
@@ -10903,10 +10889,19 @@ class ServiceUpdateServiceRequest(BaseModel):
10903
10889
  )
10904
10890
 
10905
10891
 
10906
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10907
- llm_name: LLMType
10908
- params: dict[str, Any] | None = Field(
10909
- {}, description='LLM-specific parameters to use.', title='Params'
10892
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
10893
+ agent_version_number: int | None = Field(
10894
+ ...,
10895
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
10896
+ title='Agent Version Number',
10897
+ )
10898
+ service_hierarchical_state_machine_version_number: int | None = Field(
10899
+ ...,
10900
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
10901
+ title='Service Hierarchical State Machine Version Number',
10902
+ )
10903
+ llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
10904
+ Field(..., title='Llm Model Preferences')
10910
10905
  )
10911
10906
 
10912
10907
 
@@ -11113,6 +11108,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11113
11108
  )
11114
11109
 
11115
11110
 
11111
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11112
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11113
+ name: str = Field(
11114
+ ..., description='The name of the simulation scenario.', title='Name'
11115
+ )
11116
+ tags: dict[str, str | None] = Field(
11117
+ ..., description='The tags of the simulation scenario.', title='Tags'
11118
+ )
11119
+ is_deleted: bool = Field(
11120
+ ...,
11121
+ description='Whether the simulation scenario is deleted.',
11122
+ title='Is Deleted',
11123
+ )
11124
+ created_at: AwareDatetime = Field(
11125
+ ...,
11126
+ description='The timestamp when the simulation scenario was created.',
11127
+ title='Created At',
11128
+ )
11129
+ creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11130
+ ..., description='The user who created the simulation scenario.'
11131
+ )
11132
+ updated_at: AwareDatetime = Field(
11133
+ ...,
11134
+ description='The timestamp when the simulation scenario was last updated.',
11135
+ title='Updated At',
11136
+ )
11137
+ updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11138
+ ..., description='The user who last updated the simulation scenario.'
11139
+ )
11140
+
11141
+
11116
11142
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11117
11143
  presigned_url: str = Field(
11118
11144
  ...,
@@ -11235,34 +11261,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
11235
11261
  )
11236
11262
 
11237
11263
 
11238
- class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11239
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11240
- name: str = Field(
11241
- ..., description='The name of the simulation scenario.', title='Name'
11242
- )
11243
- tags: dict[str, str | None] = Field(
11244
- ..., description='The tags of the simulation scenario.', title='Tags'
11245
- )
11246
- is_deleted: bool = Field(
11247
- ...,
11248
- description='Whether the simulation scenario is deleted.',
11249
- title='Is Deleted',
11250
- )
11251
- created_at: AwareDatetime = Field(
11252
- ...,
11253
- description='The timestamp when the simulation scenario was created.',
11254
- title='Created At',
11255
- )
11256
- creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11257
- ..., description='The user who created the simulation scenario.'
11258
- )
11259
- updated_at: AwareDatetime = Field(
11264
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11265
+ simulation_scenarios: list[
11266
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11267
+ ] = Field(
11260
11268
  ...,
11261
- description='The timestamp when the simulation scenario was last updated.',
11262
- title='Updated At',
11263
- )
11264
- updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11265
- ..., description='The user who last updated the simulation scenario.'
11269
+ description='The list of simulation scenarios.',
11270
+ title='Simulation Scenarios',
11266
11271
  )
11267
11272
 
11268
11273
 
@@ -11966,7 +11971,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11966
11971
  title='Id',
11967
11972
  )
11968
11973
  message_type: list[MessageType] | None = Field(
11969
- ['external-event', 'user-message', 'agent-message'],
11974
+ ['agent-message', 'user-message', 'external-event'],
11970
11975
  description='The type of messages to retrieve.',
11971
11976
  title='Message Type',
11972
11977
  )
@@ -13711,7 +13716,7 @@ class ServiceInstance(BaseModel):
13711
13716
  agent_id: str = Field(
13712
13717
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13713
13718
  )
13714
- tags: list[MongoCollectionsMetricMetricTag] = Field(
13719
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13715
13720
  ..., description='The tags of the service.', title='Tags'
13716
13721
  )
13717
13722
  keyterms: list[str] = Field(
@@ -13769,7 +13774,7 @@ class SimulationUnitTestSet(BaseModel):
13769
13774
  description='Whether the unit test set has been deleted.',
13770
13775
  title='Is Deleted',
13771
13776
  )
13772
- tags: list[MongoCollectionsMetricMetricTag] = Field(
13777
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13773
13778
  ..., description='The tags of the simulation unit test set.', title='Tags'
13774
13779
  )
13775
13780
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13806,7 +13811,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13806
13811
  description='Whether the unit test set has been deleted.',
13807
13812
  title='Is Deleted',
13808
13813
  )
13809
- tags: list[MongoCollectionsMetricMetricTag] = Field(
13814
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13810
13815
  ..., description='The tags of the simulation unit test set.', title='Tags'
13811
13816
  )
13812
13817
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13934,7 +13939,7 @@ class ToolInstance(BaseModel):
13934
13939
  description='A list of encrypted environment variables that some versions of this tool uses.',
13935
13940
  title='Secret Envvars',
13936
13941
  )
13937
- tags: list[MongoCollectionsMetricMetricTag] = Field(
13942
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13938
13943
  ..., description='The tags of the simulation persona.', title='Tags'
13939
13944
  )
13940
13945
 
@@ -13949,7 +13954,7 @@ class ToolVersionInstance(BaseModel):
13949
13954
  description='The ID of the tool that this version belongs to.',
13950
13955
  title='Tool Id',
13951
13956
  )
13952
- version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
13957
+ version: MongoCollectionsToolVersionToolVersionVersion = Field(
13953
13958
  ..., description='The version of the tool.'
13954
13959
  )
13955
13960
  required_envvars: list[str] = Field(
@@ -14213,7 +14218,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14213
14218
 
14214
14219
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14215
14220
  dynamic_behavior_sets: list[
14216
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14221
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14217
14222
  ] = Field(
14218
14223
  ...,
14219
14224
  description='The retrieved dynamic behavior sets.',
@@ -14237,6 +14242,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14237
14242
  )
14238
14243
 
14239
14244
 
14245
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14246
+ dynamic_behavior_sets: list[
14247
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14248
+ ] = Field(
14249
+ ...,
14250
+ description='The retrieved dynamic behavior sets.',
14251
+ title='Dynamic Behavior Sets',
14252
+ )
14253
+
14254
+
14240
14255
  class MetricCreateMetricRequest(BaseModel):
14241
14256
  name: str = Field(
14242
14257
  ...,
@@ -14293,7 +14308,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14293
14308
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14294
14309
  min_length=1,
14295
14310
  )
14296
- user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14311
+ user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14297
14312
  ...,
14298
14313
  description='User dimensions for the organization.',
14299
14314
  title='User Dimensions',
@@ -14463,6 +14478,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
14463
14478
  )
14464
14479
 
14465
14480
 
14481
+ class UserDimensions(
14482
+ RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14483
+ ):
14484
+ root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14485
+ ...,
14486
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14487
+ min_length=1,
14488
+ title='User Dimensions',
14489
+ )
14490
+
14491
+
14466
14492
  class OrganizationModifyOrganizationRequest(BaseModel):
14467
14493
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14468
14494
  None,
@@ -14516,6 +14542,10 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14516
14542
  )
14517
14543
 
14518
14544
 
14545
+ class RoleCreateRoleRequestPermissionGrant(PermissionGrantInstance):
14546
+ pass
14547
+
14548
+
14519
14549
  class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14520
14550
  user_id: str = Field(
14521
14551
  ...,
@@ -14540,8 +14570,57 @@ class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
14540
14570
  )
14541
14571
 
14542
14572
 
14543
- class RoleModifyRoleRequestPermissionGrant(PermissionGrantInstance):
14544
- pass
14573
+ class RoleModifyRoleRequest(BaseModel):
14574
+ description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14575
+ None,
14576
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
14577
+ )
14578
+ permission_grants: list[RoleCreateRoleRequestPermissionGrant] | None = Field(
14579
+ None,
14580
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14581
+ title='Permission Grants',
14582
+ )
14583
+ frontend_view: FrontendView | None = Field(
14584
+ None,
14585
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14586
+ )
14587
+
14588
+
14589
+ class ServiceCreateServiceRequest(BaseModel):
14590
+ service_hierarchical_state_machine_id: str = Field(
14591
+ ...,
14592
+ description='The ID of the state machine that this service uses.',
14593
+ pattern='^[a-f0-9]{24}$',
14594
+ title='Service Hierarchical State Machine Id',
14595
+ )
14596
+ agent_id: str = Field(
14597
+ ...,
14598
+ description='The ID of the agent that this service uses.',
14599
+ pattern='^[a-f0-9]{24}$',
14600
+ title='Agent Id',
14601
+ )
14602
+ name: str = Field(..., description='The name of this service.', min_length=1)
14603
+ description: str = Field(
14604
+ ..., description='A description of this service.', min_length=1
14605
+ )
14606
+ is_active: bool = Field(
14607
+ ...,
14608
+ description='Whether the newly-created service is active. Only active services are visible to users on the dashboard. You can later adjust the activeness of this service.',
14609
+ title='Is Active',
14610
+ )
14611
+ release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
14612
+ None,
14613
+ description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
14614
+ )
14615
+ keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
14616
+ ...,
14617
+ description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
14618
+ max_length=20,
14619
+ title='Keyterms',
14620
+ )
14621
+ tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
14622
+ ..., description='The tags of this service.', title='Tags'
14623
+ )
14545
14624
 
14546
14625
 
14547
14626
  class ServiceGetServicesResponse(BaseModel):
@@ -14564,20 +14643,10 @@ class ServiceGetServicesResponse(BaseModel):
14564
14643
  )
14565
14644
 
14566
14645
 
14567
- class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
14568
- agent_version_number: int | None = Field(
14569
- ...,
14570
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
14571
- title='Agent Version Number',
14572
- )
14573
- service_hierarchical_state_machine_version_number: int | None = Field(
14574
- ...,
14575
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14576
- title='Service Hierarchical State Machine Version Number',
14646
+ class ServiceUpsertServiceVersionSetRequest(BaseModel):
14647
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
14648
+ ..., description='The version set to upsert.'
14577
14649
  )
14578
- llm_model_preferences: dict[
14579
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14580
- ] = Field(..., title='Llm Model Preferences')
14581
14650
 
14582
14651
 
14583
14652
  class SimulationCreateSimulationPersonaRequest(BaseModel):
@@ -14665,7 +14734,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14665
14734
 
14666
14735
  class SimulationGetSimulationScenariosResponse(BaseModel):
14667
14736
  simulation_scenarios: list[
14668
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14737
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14669
14738
  ] = Field(
14670
14739
  ...,
14671
14740
  description='The list of simulation scenarios.',
@@ -14719,16 +14788,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
14719
14788
  )
14720
14789
 
14721
14790
 
14722
- class SimulationSearchSimulationScenariosResponse(BaseModel):
14723
- simulation_scenarios: list[
14724
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14725
- ] = Field(
14726
- ...,
14727
- description='The list of simulation scenarios.',
14728
- title='Simulation Scenarios',
14729
- )
14730
-
14731
-
14732
14791
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14733
14792
  simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
14734
14793
  ...,
@@ -15038,7 +15097,7 @@ class Metric(BaseModel):
15038
15097
  additional_notes: str | None = Field(
15039
15098
  ..., description='Additional notes about the metric.', title='Additional Notes'
15040
15099
  )
15041
- tags: list[MongoCollectionsMetricMetricTag] = Field(
15100
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15042
15101
  ..., description='The tags of the metric.', title='Tags'
15043
15102
  )
15044
15103
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15111,7 +15170,7 @@ class MetricInstance(BaseModel):
15111
15170
  additional_notes: str | None = Field(
15112
15171
  ..., description='Additional notes about the metric.', title='Additional Notes'
15113
15172
  )
15114
- tags: list[MongoCollectionsMetricMetricTag] = Field(
15173
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15115
15174
  ..., description='The tags of the metric.', title='Tags'
15116
15175
  )
15117
15176
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15207,7 +15266,7 @@ class SimulationUnitTest(BaseModel):
15207
15266
  is_deleted: bool = Field(
15208
15267
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15209
15268
  )
15210
- tags: list[MongoCollectionsMetricMetricTag] = Field(
15269
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15211
15270
  ..., description='The tags of the simulation persona.', title='Tags'
15212
15271
  )
15213
15272
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15252,7 +15311,7 @@ class SimulationUnitTestInstance(BaseModel):
15252
15311
  is_deleted: bool = Field(
15253
15312
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15254
15313
  )
15255
- tags: list[MongoCollectionsMetricMetricTag] = Field(
15314
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15256
15315
  ..., description='The tags of the simulation persona.', title='Tags'
15257
15316
  )
15258
15317
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15537,7 +15596,7 @@ class RoleCreateRoleRequest(BaseModel):
15537
15596
  description: str = Field(
15538
15597
  ..., description='A description about the role.', min_length=1
15539
15598
  )
15540
- permission_grants: list[RoleModifyRoleRequestPermissionGrant] = Field(
15599
+ permission_grants: list[RoleCreateRoleRequestPermissionGrant] = Field(
15541
15600
  ...,
15542
15601
  description='A list of permission grants associated with this role.',
15543
15602
  title='Permission Grants',
@@ -15571,65 +15630,6 @@ class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
15571
15630
  )
15572
15631
 
15573
15632
 
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
-
15590
- class ServiceCreateServiceRequest(BaseModel):
15591
- service_hierarchical_state_machine_id: str = Field(
15592
- ...,
15593
- description='The ID of the state machine that this service uses.',
15594
- pattern='^[a-f0-9]{24}$',
15595
- title='Service Hierarchical State Machine Id',
15596
- )
15597
- agent_id: str = Field(
15598
- ...,
15599
- description='The ID of the agent that this service uses.',
15600
- pattern='^[a-f0-9]{24}$',
15601
- title='Agent Id',
15602
- )
15603
- name: str = Field(..., description='The name of this service.', min_length=1)
15604
- description: str = Field(
15605
- ..., description='A description of this service.', min_length=1
15606
- )
15607
- is_active: bool = Field(
15608
- ...,
15609
- description='Whether the newly-created service is active. Only active services are visible to users on the dashboard. You can later adjust the activeness of this service.',
15610
- title='Is Active',
15611
- )
15612
- release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
15613
- None,
15614
- description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
15615
- )
15616
- keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
15617
- ...,
15618
- description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
15619
- max_length=20,
15620
- title='Keyterms',
15621
- )
15622
- tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
15623
- ..., description='The tags of this service.', title='Tags'
15624
- )
15625
-
15626
-
15627
- class ServiceUpsertServiceVersionSetRequest(BaseModel):
15628
- version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
15629
- ..., description='The version set to upsert.'
15630
- )
15631
-
15632
-
15633
15633
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
15634
15634
  name: str = Field(..., description='The name of the unit test.', min_length=1)
15635
15635
  description: str = Field(
@@ -15779,7 +15779,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
15779
15779
  tool_id: str = Field(
15780
15780
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
15781
15781
  )
15782
- tool_version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
15782
+ tool_version: MongoCollectionsToolVersionToolVersionVersion = Field(
15783
15783
  ..., description='The version of the tool that was invoked.'
15784
15784
  )
15785
15785
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.109.0
3
+ Version: 0.110.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=rO5MZzslnWheO_CqeWF3yb7vFzKiKID8adpSMDTbN48,140
5
+ amigo_sdk/__init__.py,sha256=oA8x4VRgQqZkmVQYtLBz3SgClE1vn3xjU4dGCNa4fMk,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=odS_Apfmq8utIL9uYJW2rtxX67SYlW99jboacdgK44I,448739
13
+ amigo_sdk/generated/model.py,sha256=R4Zq0T1A5_De40MeeLBuLuGZAGnhmlFMxp27QCH_Ak8,448973
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.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,,
18
+ amigo_sdk-0.110.0.dist-info/METADATA,sha256=b9g0l7QjoDelmUJnSj4axx7XI5yXEgxWI-bgULzb8J8,8500
19
+ amigo_sdk-0.110.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.110.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.110.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.110.0.dist-info/RECORD,,