amigo_sdk 0.79.0__py3-none-any.whl → 0.80.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 +1 -1
- amigo_sdk/generated/model.py +151 -155
- {amigo_sdk-0.79.0.dist-info → amigo_sdk-0.80.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.79.0.dist-info → amigo_sdk-0.80.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.79.0.dist-info → amigo_sdk-0.80.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.79.0.dist-info → amigo_sdk-0.80.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.79.0.dist-info → amigo_sdk-0.80.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-12-
|
|
3
|
+
# timestamp: 2025-12-07T16:12:19+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1664,11 +1664,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
|
1664
1664
|
)
|
|
1665
1665
|
|
|
1666
1666
|
|
|
1667
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1668
|
-
key: str = Field(..., title='Key')
|
|
1669
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
1667
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1673
1668
|
BaseModel
|
|
1674
1669
|
):
|
|
@@ -1705,10 +1700,9 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1705
1700
|
)
|
|
1706
1701
|
|
|
1707
1702
|
|
|
1708
|
-
class
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
patch: int = Field(..., title='Patch')
|
|
1703
|
+
class AmigoLibMongoCollectionsToolToolTag(BaseModel):
|
|
1704
|
+
key: str = Field(..., title='Key')
|
|
1705
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1712
1706
|
|
|
1713
1707
|
|
|
1714
1708
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
@@ -1718,6 +1712,12 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1718
1712
|
)
|
|
1719
1713
|
|
|
1720
1714
|
|
|
1715
|
+
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1716
|
+
major: int = Field(..., title='Major')
|
|
1717
|
+
minor: int = Field(..., title='Minor')
|
|
1718
|
+
patch: int = Field(..., title='Patch')
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
1721
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1722
1722
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1723
1723
|
False,
|
|
@@ -1956,6 +1956,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1956
1956
|
)
|
|
1957
1957
|
|
|
1958
1958
|
|
|
1959
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1960
|
+
BaseModel
|
|
1961
|
+
):
|
|
1962
|
+
id: str = Field(..., title='Id')
|
|
1963
|
+
name: str = Field(..., title='Name')
|
|
1964
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1965
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1966
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1967
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1968
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1969
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1970
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1971
|
+
|
|
1972
|
+
|
|
1959
1973
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1960
1974
|
applied_to_services_ids: List[str] = Field(
|
|
1961
1975
|
...,
|
|
@@ -1976,18 +1990,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1976
1990
|
)
|
|
1977
1991
|
|
|
1978
1992
|
|
|
1979
|
-
class
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1988
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1989
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1990
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1993
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1994
|
+
dynamic_behavior_sets: List[
|
|
1995
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1996
|
+
] = Field(
|
|
1997
|
+
...,
|
|
1998
|
+
description='The retrieved dynamic behavior sets.',
|
|
1999
|
+
title='Dynamic Behavior Sets',
|
|
2000
|
+
)
|
|
1991
2001
|
|
|
1992
2002
|
|
|
1993
2003
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10743,13 +10753,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10743
10753
|
)
|
|
10744
10754
|
|
|
10745
10755
|
|
|
10746
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
-
description: str = Field(..., min_length=1)
|
|
10748
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
-
..., title='Tags'
|
|
10750
|
-
)
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
10756
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10754
10757
|
org_id: str = Field(
|
|
10755
10758
|
...,
|
|
@@ -10891,22 +10894,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10891
10894
|
)
|
|
10892
10895
|
|
|
10893
10896
|
|
|
10894
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10895
|
-
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10896
|
-
):
|
|
10897
|
-
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10898
|
-
...,
|
|
10899
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10900
|
-
min_length=1,
|
|
10901
|
-
title='User Dimensions',
|
|
10902
|
-
)
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
10897
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10906
10898
|
OrganizationCreateOrganizationRequestPreferences
|
|
10907
10899
|
)
|
|
10908
10900
|
|
|
10909
10901
|
|
|
10902
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10903
|
+
description: str = Field(..., min_length=1)
|
|
10904
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10905
|
+
..., title='Tags'
|
|
10906
|
+
)
|
|
10907
|
+
|
|
10908
|
+
|
|
10910
10909
|
class RoleAssignRoleRequest(BaseModel):
|
|
10911
10910
|
user_id: str = Field(
|
|
10912
10911
|
...,
|
|
@@ -11490,6 +11489,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11490
11489
|
)
|
|
11491
11490
|
|
|
11492
11491
|
|
|
11492
|
+
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11493
|
+
regular = 'regular'
|
|
11494
|
+
conversation_simulation = 'conversation-simulation'
|
|
11495
|
+
|
|
11496
|
+
|
|
11497
|
+
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11498
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11499
|
+
...,
|
|
11500
|
+
description='The input parameters for the tool invocation.',
|
|
11501
|
+
title='Input Parameters',
|
|
11502
|
+
)
|
|
11503
|
+
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11504
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11505
|
+
)
|
|
11506
|
+
|
|
11507
|
+
|
|
11493
11508
|
class ToolModifyToolRequest(BaseModel):
|
|
11494
11509
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11495
11510
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11532,19 +11547,34 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11532
11547
|
)
|
|
11533
11548
|
|
|
11534
11549
|
|
|
11535
|
-
class
|
|
11536
|
-
|
|
11537
|
-
conversation_simulation = 'conversation-simulation'
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
class ToolTestToolRequestInput(BaseModel):
|
|
11541
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11550
|
+
class ToolTestToolRequest(BaseModel):
|
|
11551
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
11542
11552
|
...,
|
|
11543
|
-
description='The
|
|
11544
|
-
|
|
11553
|
+
description='The list of inputs for the tool invocation.',
|
|
11554
|
+
max_length=10,
|
|
11555
|
+
min_length=1,
|
|
11556
|
+
title='Inputs',
|
|
11545
11557
|
)
|
|
11546
|
-
|
|
11547
|
-
...,
|
|
11558
|
+
commit_branch: str = Field(
|
|
11559
|
+
...,
|
|
11560
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
11561
|
+
title='Commit Branch',
|
|
11562
|
+
)
|
|
11563
|
+
project_path: str = Field(
|
|
11564
|
+
...,
|
|
11565
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11566
|
+
pattern='^[-\\w\\d_/]+$',
|
|
11567
|
+
title='Project Path',
|
|
11568
|
+
)
|
|
11569
|
+
required_envvars: Dict[str, str] = Field(
|
|
11570
|
+
...,
|
|
11571
|
+
description='The environment variables required for the tool to run.',
|
|
11572
|
+
title='Required Envvars',
|
|
11573
|
+
)
|
|
11574
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
11575
|
+
...,
|
|
11576
|
+
description='The secret environment variables required for the tool to run.',
|
|
11577
|
+
title='Required Secret Envvars',
|
|
11548
11578
|
)
|
|
11549
11579
|
|
|
11550
11580
|
|
|
@@ -12055,7 +12085,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12055
12085
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12056
12086
|
)
|
|
12057
12087
|
message_type: Optional[List[MessageType]] = Field(
|
|
12058
|
-
['user-message', '
|
|
12088
|
+
['user-message', 'agent-message', 'external-event'],
|
|
12059
12089
|
description='The type of messages to retrieve.',
|
|
12060
12090
|
title='Message Type',
|
|
12061
12091
|
)
|
|
@@ -13861,9 +13891,9 @@ class ServiceInstance(BaseModel):
|
|
|
13861
13891
|
agent_id: str = Field(
|
|
13862
13892
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13863
13893
|
)
|
|
13864
|
-
tags: List[
|
|
13865
|
-
|
|
13866
|
-
|
|
13894
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
13895
|
+
..., description='The tags of the service.', title='Tags'
|
|
13896
|
+
)
|
|
13867
13897
|
|
|
13868
13898
|
|
|
13869
13899
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -13914,9 +13944,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13914
13944
|
description='Whether the unit test set has been deleted.',
|
|
13915
13945
|
title='Is Deleted',
|
|
13916
13946
|
)
|
|
13917
|
-
tags: List[
|
|
13918
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13919
|
-
] = Field(
|
|
13947
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
13920
13948
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13921
13949
|
)
|
|
13922
13950
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13955,9 +13983,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13955
13983
|
description='Whether the unit test set has been deleted.',
|
|
13956
13984
|
title='Is Deleted',
|
|
13957
13985
|
)
|
|
13958
|
-
tags: List[
|
|
13959
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13960
|
-
] = Field(
|
|
13986
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
13961
13987
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13962
13988
|
)
|
|
13963
13989
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14073,9 +14099,9 @@ class ToolInstance(BaseModel):
|
|
|
14073
14099
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14074
14100
|
title='Secret Envvars',
|
|
14075
14101
|
)
|
|
14076
|
-
tags: List[
|
|
14077
|
-
|
|
14078
|
-
|
|
14102
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
14103
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
14104
|
+
)
|
|
14079
14105
|
|
|
14080
14106
|
|
|
14081
14107
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14088,7 +14114,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14088
14114
|
description='The ID of the tool that this version belongs to.',
|
|
14089
14115
|
title='Tool Id',
|
|
14090
14116
|
)
|
|
14091
|
-
version:
|
|
14117
|
+
version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
14092
14118
|
..., description='The version of the tool.'
|
|
14093
14119
|
)
|
|
14094
14120
|
required_envvars: List[str] = Field(
|
|
@@ -14404,7 +14430,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14404
14430
|
|
|
14405
14431
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14406
14432
|
dynamic_behavior_sets: List[
|
|
14407
|
-
|
|
14433
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14408
14434
|
] = Field(
|
|
14409
14435
|
...,
|
|
14410
14436
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14428,16 +14454,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14428
14454
|
)
|
|
14429
14455
|
|
|
14430
14456
|
|
|
14431
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14432
|
-
dynamic_behavior_sets: List[
|
|
14433
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14434
|
-
] = Field(
|
|
14435
|
-
...,
|
|
14436
|
-
description='The retrieved dynamic behavior sets.',
|
|
14437
|
-
title='Dynamic Behavior Sets',
|
|
14438
|
-
)
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
14457
|
class MetricCreateMetricRequest(BaseModel):
|
|
14442
14458
|
name: str = Field(
|
|
14443
14459
|
...,
|
|
@@ -14494,7 +14510,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14494
14510
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14495
14511
|
min_length=1,
|
|
14496
14512
|
)
|
|
14497
|
-
user_dimensions: List[
|
|
14513
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14498
14514
|
...,
|
|
14499
14515
|
description='User dimensions for the organization.',
|
|
14500
14516
|
title='User Dimensions',
|
|
@@ -14638,6 +14654,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14638
14654
|
)
|
|
14639
14655
|
|
|
14640
14656
|
|
|
14657
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14658
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14659
|
+
):
|
|
14660
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14661
|
+
...,
|
|
14662
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14663
|
+
min_length=1,
|
|
14664
|
+
title='User Dimensions',
|
|
14665
|
+
)
|
|
14666
|
+
|
|
14667
|
+
|
|
14641
14668
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14642
14669
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14643
14670
|
None,
|
|
@@ -14695,7 +14722,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14695
14722
|
)
|
|
14696
14723
|
|
|
14697
14724
|
|
|
14698
|
-
class
|
|
14725
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14699
14726
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14700
14727
|
...,
|
|
14701
14728
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14712,29 +14739,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14712
14739
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14713
14740
|
|
|
14714
14741
|
|
|
14715
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
14716
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14717
|
-
None,
|
|
14718
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14719
|
-
)
|
|
14720
|
-
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14721
|
-
None,
|
|
14722
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14723
|
-
title='Permission Grants',
|
|
14724
|
-
)
|
|
14725
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
14726
|
-
None,
|
|
14727
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14728
|
-
)
|
|
14729
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14730
|
-
Field(
|
|
14731
|
-
{},
|
|
14732
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14733
|
-
title='Inherited From',
|
|
14734
|
-
)
|
|
14735
|
-
)
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
14742
|
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14739
14743
|
agent_version_number: Optional[int] = Field(
|
|
14740
14744
|
...,
|
|
@@ -15010,7 +15014,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15010
15014
|
|
|
15011
15015
|
|
|
15012
15016
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15013
|
-
inputs: List[
|
|
15017
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
15014
15018
|
...,
|
|
15015
15019
|
description='The list of inputs for the tool invocation.',
|
|
15016
15020
|
max_length=10,
|
|
@@ -15031,37 +15035,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15031
15035
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15032
15036
|
|
|
15033
15037
|
|
|
15034
|
-
class ToolTestToolRequest(BaseModel):
|
|
15035
|
-
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15036
|
-
...,
|
|
15037
|
-
description='The list of inputs for the tool invocation.',
|
|
15038
|
-
max_length=10,
|
|
15039
|
-
min_length=1,
|
|
15040
|
-
title='Inputs',
|
|
15041
|
-
)
|
|
15042
|
-
commit_branch: str = Field(
|
|
15043
|
-
...,
|
|
15044
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
15045
|
-
title='Commit Branch',
|
|
15046
|
-
)
|
|
15047
|
-
project_path: str = Field(
|
|
15048
|
-
...,
|
|
15049
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15050
|
-
pattern='^[-\\w\\d_/]+$',
|
|
15051
|
-
title='Project Path',
|
|
15052
|
-
)
|
|
15053
|
-
required_envvars: Dict[str, str] = Field(
|
|
15054
|
-
...,
|
|
15055
|
-
description='The environment variables required for the tool to run.',
|
|
15056
|
-
title='Required Envvars',
|
|
15057
|
-
)
|
|
15058
|
-
required_secret_envvars: Dict[str, str] = Field(
|
|
15059
|
-
...,
|
|
15060
|
-
description='The secret environment variables required for the tool to run.',
|
|
15061
|
-
title='Required Secret Envvars',
|
|
15062
|
-
)
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
15038
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15066
15039
|
|
|
15067
15040
|
|
|
@@ -15102,7 +15075,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15102
15075
|
)
|
|
15103
15076
|
|
|
15104
15077
|
|
|
15105
|
-
class
|
|
15078
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15106
15079
|
org_id: str = Field(
|
|
15107
15080
|
...,
|
|
15108
15081
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15127,12 +15100,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15127
15100
|
)
|
|
15128
15101
|
|
|
15129
15102
|
|
|
15130
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15131
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15132
|
-
..., description='Users in this organization.', title='Users'
|
|
15133
|
-
)
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
15103
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15137
15104
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15138
15105
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15374,9 +15341,9 @@ class Metric(BaseModel):
|
|
|
15374
15341
|
additional_notes: Optional[str] = Field(
|
|
15375
15342
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15376
15343
|
)
|
|
15377
|
-
tags: List[
|
|
15378
|
-
|
|
15379
|
-
|
|
15344
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15345
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15346
|
+
)
|
|
15380
15347
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15381
15348
|
..., description='The user who created the metric.'
|
|
15382
15349
|
)
|
|
@@ -15444,9 +15411,9 @@ class MetricInstance(BaseModel):
|
|
|
15444
15411
|
additional_notes: Optional[str] = Field(
|
|
15445
15412
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15446
15413
|
)
|
|
15447
|
-
tags: List[
|
|
15448
|
-
|
|
15449
|
-
|
|
15414
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15415
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15416
|
+
)
|
|
15450
15417
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15451
15418
|
..., description='The user who created the metric.'
|
|
15452
15419
|
)
|
|
@@ -15646,9 +15613,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15646
15613
|
is_deleted: bool = Field(
|
|
15647
15614
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15648
15615
|
)
|
|
15649
|
-
tags: List[
|
|
15650
|
-
|
|
15651
|
-
|
|
15616
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15617
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15618
|
+
)
|
|
15652
15619
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15653
15620
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15654
15621
|
|
|
@@ -15691,9 +15658,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15691
15658
|
is_deleted: bool = Field(
|
|
15692
15659
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15693
15660
|
)
|
|
15694
|
-
tags: List[
|
|
15695
|
-
|
|
15696
|
-
|
|
15661
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15662
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15663
|
+
)
|
|
15697
15664
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15698
15665
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15699
15666
|
|
|
@@ -15991,7 +15958,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15991
15958
|
description: str = Field(
|
|
15992
15959
|
..., description='A description about the role.', min_length=1
|
|
15993
15960
|
)
|
|
15994
|
-
permission_grants: List[
|
|
15961
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
15995
15962
|
...,
|
|
15996
15963
|
description='A list of permission grants associated with this role.',
|
|
15997
15964
|
title='Permission Grants',
|
|
@@ -16017,6 +15984,29 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16017
15984
|
)
|
|
16018
15985
|
|
|
16019
15986
|
|
|
15987
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
15988
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15989
|
+
None,
|
|
15990
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15991
|
+
)
|
|
15992
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15993
|
+
None,
|
|
15994
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15995
|
+
title='Permission Grants',
|
|
15996
|
+
)
|
|
15997
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
15998
|
+
None,
|
|
15999
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16000
|
+
)
|
|
16001
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16002
|
+
Field(
|
|
16003
|
+
{},
|
|
16004
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
16005
|
+
title='Inherited From',
|
|
16006
|
+
)
|
|
16007
|
+
)
|
|
16008
|
+
|
|
16009
|
+
|
|
16020
16010
|
class ServiceCreateServiceRequest(BaseModel):
|
|
16021
16011
|
service_hierarchical_state_machine_id: str = Field(
|
|
16022
16012
|
...,
|
|
@@ -16203,13 +16193,13 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16203
16193
|
tool_id: str = Field(
|
|
16204
16194
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16205
16195
|
)
|
|
16206
|
-
tool_version:
|
|
16196
|
+
tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
16207
16197
|
..., description='The version of the tool that was invoked.'
|
|
16208
16198
|
)
|
|
16209
16199
|
|
|
16210
16200
|
|
|
16211
16201
|
class UserGetUsersResponse(BaseModel):
|
|
16212
|
-
users: List[
|
|
16202
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16213
16203
|
..., description='Users in this organization.', title='Users'
|
|
16214
16204
|
)
|
|
16215
16205
|
has_more: bool = Field(
|
|
@@ -16222,6 +16212,12 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16222
16212
|
)
|
|
16223
16213
|
|
|
16224
16214
|
|
|
16215
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16216
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16217
|
+
..., description='Users in this organization.', title='Users'
|
|
16218
|
+
)
|
|
16219
|
+
|
|
16220
|
+
|
|
16225
16221
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16226
16222
|
org_id: str = Field(..., title='Org Id')
|
|
16227
16223
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=50kY2U6TcikpbngZxROTW-UmjxfQuA0q2UOHSgVpPgI,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
3
3
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
4
4
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=ZC11JcyHGuxNn2g7NTOhS5t8yocZOzuV7qjK7fjnghQ,456703
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.80.0.dist-info/METADATA,sha256=jD45qCkSyJAbFOHD-zfNh52DX1SrJkBVhGL-hMZcskw,8499
|
|
15
|
+
amigo_sdk-0.80.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.80.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.80.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.80.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|