amigo_sdk 0.57.0__py3-none-any.whl → 0.59.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.57.0"
1
+ __version__ = "0.59.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-11-11T20:01:59+00:00
3
+ # timestamp: 2025-11-12T02:24:09+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1937,6 +1937,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1937
1937
  )
1938
1938
 
1939
1939
 
1940
+ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1941
+ BaseModel
1942
+ ):
1943
+ id: str = Field(..., title='Id')
1944
+ name: str = Field(..., title='Name')
1945
+ is_active: bool = Field(..., title='Is Active')
1946
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1947
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1948
+ created_at: AwareDatetime = Field(..., title='Created At')
1949
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1950
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1951
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1952
+
1953
+
1940
1954
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1941
1955
  applied_to_services_ids: List[str] = Field(
1942
1956
  ...,
@@ -1957,18 +1971,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1957
1971
  )
1958
1972
 
1959
1973
 
1960
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1961
- BaseModel
1962
- ):
1963
- id: str = Field(..., title='Id')
1964
- name: str = Field(..., title='Name')
1965
- is_active: bool = Field(..., title='Is Active')
1966
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1967
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1968
- created_at: AwareDatetime = Field(..., title='Created At')
1969
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1970
- updated_at: AwareDatetime = Field(..., title='Updated At')
1971
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1974
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1975
+ dynamic_behavior_sets: List[
1976
+ DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1977
+ ] = Field(
1978
+ ...,
1979
+ description='The retrieved dynamic behavior sets.',
1980
+ title='Dynamic Behavior Sets',
1981
+ )
1972
1982
 
1973
1983
 
1974
1984
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -11120,16 +11130,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11120
11130
  )
11121
11131
 
11122
11132
 
11123
- class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11124
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11125
- run_count: int = Field(
11126
- ...,
11127
- description='The number of times to run the unit test.',
11128
- gt=0,
11129
- title='Run Count',
11130
- )
11131
-
11132
-
11133
11133
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11134
11134
  simulation_unit_test_set_id: str = Field(
11135
11135
  ...,
@@ -11430,39 +11430,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
11430
11430
  )
11431
11431
 
11432
11432
 
11433
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
11434
- RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11435
- ):
11436
- root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11437
- Field(
11438
- ...,
11439
- description='The unit test runs that are part of this set.',
11440
- min_length=1,
11441
- title='Unit Test Runs',
11442
- )
11443
- )
11444
-
11445
-
11446
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11447
- name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11448
- None, description='The name of the simulation unit test set.'
11449
- )
11450
- description: Optional[
11451
- Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
11452
- ] = Field(
11453
- {},
11454
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11455
- title='Description',
11456
- )
11457
- unit_test_runs: Optional[
11458
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
11459
- ] = Field(
11460
- None,
11461
- description='The unit test runs that are part of this set.',
11462
- title='Unit Test Runs',
11463
- )
11464
- tags: Optional[Dict[str, Optional[str]]] = Field(
11465
- None, description='The tags of the simulation unit test set.', title='Tags'
11433
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11434
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11435
+ run_count: int = Field(
11436
+ ...,
11437
+ description='The number of times to run the unit test.',
11438
+ gt=0,
11439
+ title='Run Count',
11466
11440
  )
11467
11441
 
11468
11442
 
@@ -11499,22 +11473,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11499
11473
  )
11500
11474
 
11501
11475
 
11502
- class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
11503
- regular = 'regular'
11504
- conversation_simulation = 'conversation-simulation'
11505
-
11506
-
11507
- class ToolInvokeToolVersionRequestInput(BaseModel):
11508
- input_parameters: Dict[str, Any] = Field(
11509
- ...,
11510
- description='The input parameters for the tool invocation.',
11511
- title='Input Parameters',
11512
- )
11513
- invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
11514
- ..., description='The mode of invocation.', title='Invocation Mode'
11515
- )
11516
-
11517
-
11518
11476
  class ToolModifyToolRequest(BaseModel):
11519
11477
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11520
11478
  None, description='A description of this tool. Only updates if not-null.'
@@ -11557,34 +11515,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11557
11515
  )
11558
11516
 
11559
11517
 
11560
- class ToolTestToolRequest(BaseModel):
11561
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
11562
- ...,
11563
- description='The list of inputs for the tool invocation.',
11564
- max_length=10,
11565
- min_length=1,
11566
- title='Inputs',
11567
- )
11568
- commit_branch: str = Field(
11569
- ...,
11570
- description='The branch in the tools repo whose tip will be tested.',
11571
- title='Commit Branch',
11572
- )
11573
- project_path: str = Field(
11574
- ...,
11575
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11576
- pattern='^[-\\w\\d_/]+$',
11577
- title='Project Path',
11578
- )
11579
- required_envvars: Dict[str, str] = Field(
11518
+ class ToolTestToolRequestInputInvocationMode(Enum):
11519
+ regular = 'regular'
11520
+ conversation_simulation = 'conversation-simulation'
11521
+
11522
+
11523
+ class ToolTestToolRequestInput(BaseModel):
11524
+ input_parameters: Dict[str, Any] = Field(
11580
11525
  ...,
11581
- description='The environment variables required for the tool to run.',
11582
- title='Required Envvars',
11526
+ description='The input parameters for the tool invocation.',
11527
+ title='Input Parameters',
11583
11528
  )
11584
- required_secret_envvars: Dict[str, str] = Field(
11585
- ...,
11586
- description='The secret environment variables required for the tool to run.',
11587
- title='Required Secret Envvars',
11529
+ invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
11530
+ ..., description='The mode of invocation.', title='Invocation Mode'
11588
11531
  )
11589
11532
 
11590
11533
 
@@ -11656,7 +11599,7 @@ class UserGetMemoriesResponse(BaseModel):
11656
11599
  )
11657
11600
 
11658
11601
 
11659
- class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11602
+ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11660
11603
  num_conversations: int = Field(
11661
11604
  ...,
11662
11605
  description='The number of conversations the user has created.',
@@ -12121,7 +12064,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12121
12064
  [], description='The IDs of the messages to retrieve.', title='Id'
12122
12065
  )
12123
12066
  message_type: Optional[List[MessageType]] = Field(
12124
- ['user-message', 'external-event', 'agent-message'],
12067
+ ['agent-message', 'external-event', 'user-message'],
12125
12068
  description='The type of messages to retrieve.',
12126
12069
  title='Message Type',
12127
12070
  )
@@ -14390,7 +14333,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14390
14333
 
14391
14334
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14392
14335
  dynamic_behavior_sets: List[
14393
- DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14336
+ DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14394
14337
  ] = Field(
14395
14338
  ...,
14396
14339
  description='The retrieved dynamic behavior sets.',
@@ -14414,16 +14357,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14414
14357
  )
14415
14358
 
14416
14359
 
14417
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14418
- dynamic_behavior_sets: List[
14419
- DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14420
- ] = Field(
14421
- ...,
14422
- description='The retrieved dynamic behavior sets.',
14423
- title='Dynamic Behavior Sets',
14424
- )
14425
-
14426
-
14427
14360
  class MetricCreateMetricRequest(BaseModel):
14428
14361
  name: str = Field(
14429
14362
  ...,
@@ -14692,7 +14625,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14692
14625
  )
14693
14626
 
14694
14627
 
14695
- class RoleCreateRoleRequestPermissionGrant(BaseModel):
14628
+ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14696
14629
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14697
14630
  ...,
14698
14631
  description='Whether this grant allows or denies the specified access.',
@@ -14709,30 +14642,27 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14709
14642
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14710
14643
 
14711
14644
 
14712
- class RoleModifyRoleRequest(BaseModel):
14713
- description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14714
- None,
14715
- description='A description about the role. Only updated if specified. This field is a mutable field.',
14645
+ class ServiceGetServicesResponse(BaseModel):
14646
+ services: List[ServiceInstance] = Field(
14647
+ ..., description='The services that are found.', title='Services'
14716
14648
  )
14717
- permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
14718
- None,
14719
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14720
- title='Permission Grants',
14649
+ has_more: bool = Field(
14650
+ ...,
14651
+ description='Whether there are more services to retrieve.',
14652
+ title='Has More',
14721
14653
  )
14722
- frontend_view: Optional[FrontendView] = Field(
14723
- None,
14724
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14654
+ continuation_token: Optional[int] = Field(
14655
+ ...,
14656
+ description='A token to supply to the next request to retrieve the next page of services. Only populated if `has_more` is `True`.',
14657
+ title='Continuation Token',
14725
14658
  )
14726
- inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
14727
- Field(
14728
- {},
14729
- description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
14730
- title='Inherited From',
14731
- )
14659
+ filter_values: Optional[ServiceGetServicesResponseFilterValues] = Field(
14660
+ ...,
14661
+ description='For each filter that this endpoint supports that can take on dynamic values, this field includes what these values are. This is only provided for the first page in the pagination results.\n\nNote that the values are counted assuming the authenticated user has access to all the services, so they might differ from how many services are actually\nretrieved.',
14732
14662
  )
14733
14663
 
14734
14664
 
14735
- class ServiceCreateServiceRequestVersionSet(BaseModel):
14665
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
14736
14666
  agent_version_number: Optional[int] = Field(
14737
14667
  ...,
14738
14668
  description='The version number of the agent to be used. If None, the latest agent version will be used.',
@@ -14752,32 +14682,6 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
14752
14682
  ] = Field(..., title='Llm Model Preferences')
14753
14683
 
14754
14684
 
14755
- class ServiceGetServicesResponse(BaseModel):
14756
- services: List[ServiceInstance] = Field(
14757
- ..., description='The services that are found.', title='Services'
14758
- )
14759
- has_more: bool = Field(
14760
- ...,
14761
- description='Whether there are more services to retrieve.',
14762
- title='Has More',
14763
- )
14764
- continuation_token: Optional[int] = Field(
14765
- ...,
14766
- description='A token to supply to the next request to retrieve the next page of services. Only populated if `has_more` is `True`.',
14767
- title='Continuation Token',
14768
- )
14769
- filter_values: Optional[ServiceGetServicesResponseFilterValues] = Field(
14770
- ...,
14771
- description='For each filter that this endpoint supports that can take on dynamic values, this field includes what these values are. This is only provided for the first page in the pagination results.\n\nNote that the values are counted assuming the authenticated user has access to all the services, so they might differ from how many services are actually\nretrieved.',
14772
- )
14773
-
14774
-
14775
- class ServiceUpsertServiceVersionSetRequest(BaseModel):
14776
- version_set: ServiceCreateServiceRequestVersionSet = Field(
14777
- ..., description='The version set to upsert.'
14778
- )
14779
-
14780
-
14781
14685
  class SimulationCreateSimulationPersonaRequest(BaseModel):
14782
14686
  name: str = Field(
14783
14687
  ..., description='The name of the simulation persona.', min_length=1
@@ -14827,7 +14731,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14827
14731
  ..., description='The description of the simulation unit test set.'
14828
14732
  )
14829
14733
  unit_test_runs: List[
14830
- SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14734
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14831
14735
  ] = Field(
14832
14736
  ...,
14833
14737
  description='The unit test runs that are part of this set.',
@@ -14944,6 +14848,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
14944
14848
  )
14945
14849
 
14946
14850
 
14851
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
14852
+ RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14853
+ ):
14854
+ root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14855
+ Field(
14856
+ ...,
14857
+ description='The unit test runs that are part of this set.',
14858
+ min_length=1,
14859
+ title='Unit Test Runs',
14860
+ )
14861
+ )
14862
+
14863
+
14864
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14865
+ name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14866
+ None, description='The name of the simulation unit test set.'
14867
+ )
14868
+ description: Optional[
14869
+ Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
14870
+ ] = Field(
14871
+ {},
14872
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14873
+ title='Description',
14874
+ )
14875
+ unit_test_runs: Optional[
14876
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
14877
+ ] = Field(
14878
+ None,
14879
+ description='The unit test runs that are part of this set.',
14880
+ title='Unit Test Runs',
14881
+ )
14882
+ tags: Optional[Dict[str, Optional[str]]] = Field(
14883
+ None, description='The tags of the simulation unit test set.', title='Tags'
14884
+ )
14885
+
14886
+
14947
14887
  class ToolGetToolVersionsResponse(BaseModel):
14948
14888
  tool_versions: List[ToolVersionInstance] = Field(
14949
14889
  ...,
@@ -14985,7 +14925,7 @@ class ToolGetToolsResponse(BaseModel):
14985
14925
 
14986
14926
 
14987
14927
  class ToolInvokeToolVersionRequest(BaseModel):
14988
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
14928
+ inputs: List[ToolTestToolRequestInput] = Field(
14989
14929
  ...,
14990
14930
  description='The list of inputs for the tool invocation.',
14991
14931
  max_length=10,
@@ -15006,6 +14946,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
15006
14946
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
15007
14947
 
15008
14948
 
14949
+ class ToolTestToolRequest(BaseModel):
14950
+ inputs: List[ToolTestToolRequestInput] = Field(
14951
+ ...,
14952
+ description='The list of inputs for the tool invocation.',
14953
+ max_length=10,
14954
+ min_length=1,
14955
+ title='Inputs',
14956
+ )
14957
+ commit_branch: str = Field(
14958
+ ...,
14959
+ description='The branch in the tools repo whose tip will be tested.',
14960
+ title='Commit Branch',
14961
+ )
14962
+ project_path: str = Field(
14963
+ ...,
14964
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
14965
+ pattern='^[-\\w\\d_/]+$',
14966
+ title='Project Path',
14967
+ )
14968
+ required_envvars: Dict[str, str] = Field(
14969
+ ...,
14970
+ description='The environment variables required for the tool to run.',
14971
+ title='Required Envvars',
14972
+ )
14973
+ required_secret_envvars: Dict[str, str] = Field(
14974
+ ...,
14975
+ description='The secret environment variables required for the tool to run.',
14976
+ title='Required Secret Envvars',
14977
+ )
14978
+
14979
+
15009
14980
  ToolTestToolResponse = ToolInvokeToolVersionResponse
15010
14981
 
15011
14982
 
@@ -15046,7 +15017,7 @@ class UserGetUserModelResponse(BaseModel):
15046
15017
  )
15047
15018
 
15048
15019
 
15049
- class UserGetUsersResponseUserInstance(BaseModel):
15020
+ class UserSearchUsersResponseUserInstance(BaseModel):
15050
15021
  org_id: str = Field(
15051
15022
  ...,
15052
15023
  description='The ID of the organization that this user belongs to.',
@@ -15062,7 +15033,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15062
15033
  ..., description='The last name of the user.', title='Last Name'
15063
15034
  )
15064
15035
  email: str = Field(..., description='Email of the user.', title='Email')
15065
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15036
+ user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15066
15037
  ..., description="Statistics about the user's usage of the Amigo platform."
15067
15038
  )
15068
15039
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15071,12 +15042,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
15071
15042
  )
15072
15043
 
15073
15044
 
15074
- class UserSearchUsersResponse(BaseModel):
15075
- users: List[UserGetUsersResponseUserInstance] = Field(
15076
- ..., description='Users in this organization.', title='Users'
15077
- )
15078
-
15079
-
15080
15045
  class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
15081
15046
  webhook_deliveries: List[WebhookDeliveryInstance] = Field(
15082
15047
  ..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
@@ -15880,7 +15845,7 @@ class RoleCreateRoleRequest(BaseModel):
15880
15845
  description: str = Field(
15881
15846
  ..., description='A description about the role.', min_length=1
15882
15847
  )
15883
- permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15848
+ permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15884
15849
  ...,
15885
15850
  description='A list of permission grants associated with this role.',
15886
15851
  title='Permission Grants',
@@ -15906,6 +15871,29 @@ class RoleGetRolesResponse(BaseModel):
15906
15871
  )
15907
15872
 
15908
15873
 
15874
+ class RoleModifyRoleRequest(BaseModel):
15875
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15876
+ None,
15877
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
15878
+ )
15879
+ permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15880
+ None,
15881
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15882
+ title='Permission Grants',
15883
+ )
15884
+ frontend_view: Optional[FrontendView] = Field(
15885
+ None,
15886
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
15887
+ )
15888
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
15889
+ Field(
15890
+ {},
15891
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
15892
+ title='Inherited From',
15893
+ )
15894
+ )
15895
+
15896
+
15909
15897
  class ServiceCreateServiceRequest(BaseModel):
15910
15898
  service_hierarchical_state_machine_id: str = Field(
15911
15899
  ...,
@@ -15928,15 +15916,23 @@ class ServiceCreateServiceRequest(BaseModel):
15928
15916
  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.',
15929
15917
  title='Is Active',
15930
15918
  )
15931
- release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
15932
- None,
15933
- 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.',
15919
+ release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
15920
+ Field(
15921
+ None,
15922
+ 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.',
15923
+ )
15934
15924
  )
15935
15925
  tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
15936
15926
  ..., description='The tags of this service.', title='Tags'
15937
15927
  )
15938
15928
 
15939
15929
 
15930
+ class ServiceUpsertServiceVersionSetRequest(BaseModel):
15931
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
15932
+ ..., description='The version set to upsert.'
15933
+ )
15934
+
15935
+
15940
15936
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
15941
15937
  name: str = Field(..., description='The name of the unit test.', min_length=1)
15942
15938
  description: str = Field(
@@ -16070,7 +16066,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
16070
16066
  )
16071
16067
 
16072
16068
 
16073
- class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16069
+ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16074
16070
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
16075
16071
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
16076
16072
  created_at: Optional[AwareDatetime] = Field(None, title='Created At')
@@ -16097,8 +16093,16 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16097
16093
  )
16098
16094
 
16099
16095
 
16096
+ class ToolSearchToolInvocationsResponse(BaseModel):
16097
+ tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16098
+ Field(
16099
+ ..., description='The list of tool invocations.', title='Tool Invocations'
16100
+ )
16101
+ )
16102
+
16103
+
16100
16104
  class UserGetUsersResponse(BaseModel):
16101
- users: List[UserGetUsersResponseUserInstance] = Field(
16105
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16102
16106
  ..., description='Users in this organization.', title='Users'
16103
16107
  )
16104
16108
  has_more: bool = Field(
@@ -16111,6 +16115,12 @@ class UserGetUsersResponse(BaseModel):
16111
16115
  )
16112
16116
 
16113
16117
 
16118
+ class UserSearchUsersResponse(BaseModel):
16119
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16120
+ ..., description='Users in this organization.', title='Users'
16121
+ )
16122
+
16123
+
16114
16124
  class SimulationUnitTestSetRunInstance(BaseModel):
16115
16125
  org_id: str = Field(..., title='Org Id')
16116
16126
  id: str = Field(..., title='Id')
@@ -16210,7 +16220,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
16210
16220
 
16211
16221
 
16212
16222
  class ToolGetToolInvocationsResponse(BaseModel):
16213
- tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16223
+ tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16214
16224
  Field(
16215
16225
  ..., description='The list of tool invocations.', title='Tool Invocations'
16216
16226
  )
@@ -16225,11 +16235,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
16225
16235
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
16226
16236
  title='Continuation Token',
16227
16237
  )
16228
-
16229
-
16230
- class ToolSearchToolInvocationsResponse(BaseModel):
16231
- tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16232
- Field(
16233
- ..., description='The list of tool invocations.', title='Tool Invocations'
16234
- )
16235
- )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.57.0
3
+ Version: 0.59.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=0llxKOaHaoc69AWjNvWLA6SEj6nLiGhZyJuCASHIv2g,139
1
+ amigo_sdk/__init__.py,sha256=YfC2yqJ-vgGRTmduEHhH5Oc35gDmkfaqfl8-O16Vdgo,139
2
2
  amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
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=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
6
6
  amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
9
- amigo_sdk/generated/model.py,sha256=u0fFcDB3hmPtOjoiOuWcKACBCsCkP5_k73HNdTfonTU,452092
9
+ amigo_sdk/generated/model.py,sha256=4t6KgjiEXxRXMAKf0tiUJwkTUmjpUeqH16oTl5UHzWE,452102
10
10
  amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
13
13
  amigo_sdk/resources/user.py,sha256=vZPCw8i-xvcDQik8ouJbm8qVHucRbfxCWI3yYMDj8hg,3517
14
- amigo_sdk-0.57.0.dist-info/METADATA,sha256=Sl4jnROOqlOl0_t-xYjpsUEqR1SDGFLMO77VGEj7WaE,8350
15
- amigo_sdk-0.57.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.57.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.57.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.57.0.dist-info/RECORD,,
14
+ amigo_sdk-0.59.0.dist-info/METADATA,sha256=RVHMmG4MS7xKbhgpcp2Upvqyofypm_dnyqCbHnND_gI,8350
15
+ amigo_sdk-0.59.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.59.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.59.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.59.0.dist-info/RECORD,,