amigo_sdk 0.62.0__py3-none-any.whl → 0.63.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 +214 -214
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.63.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.63.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.63.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.63.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.63.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-11-
|
|
3
|
+
# timestamp: 2025-11-14T16:56:28+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1630,6 +1630,11 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
|
|
|
1630
1630
|
deny = 'Deny'
|
|
1631
1631
|
|
|
1632
1632
|
|
|
1633
|
+
class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
|
|
1634
|
+
key: str = Field(..., title='Key')
|
|
1635
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1636
|
+
|
|
1637
|
+
|
|
1633
1638
|
class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1634
1639
|
agent_version_number: Optional[int] = Field(
|
|
1635
1640
|
...,
|
|
@@ -1661,11 +1666,6 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
|
1661
1666
|
)
|
|
1662
1667
|
|
|
1663
1668
|
|
|
1664
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1665
|
-
key: str = Field(..., title='Key')
|
|
1666
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
1669
|
AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
1670
1670
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1671
1671
|
)
|
|
@@ -1951,20 +1951,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1951
1951
|
)
|
|
1952
1952
|
|
|
1953
1953
|
|
|
1954
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1955
|
-
BaseModel
|
|
1956
|
-
):
|
|
1957
|
-
id: str = Field(..., title='Id')
|
|
1958
|
-
name: str = Field(..., title='Name')
|
|
1959
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1960
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1961
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1962
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1963
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1964
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1965
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
1954
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1969
1955
|
applied_to_services_ids: List[str] = Field(
|
|
1970
1956
|
...,
|
|
@@ -1985,14 +1971,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1985
1971
|
)
|
|
1986
1972
|
|
|
1987
1973
|
|
|
1988
|
-
class
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
)
|
|
1974
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1975
|
+
BaseModel
|
|
1976
|
+
):
|
|
1977
|
+
id: str = Field(..., title='Id')
|
|
1978
|
+
name: str = Field(..., title='Name')
|
|
1979
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1980
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1981
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1982
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1983
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1984
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1985
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1996
1986
|
|
|
1997
1987
|
|
|
1998
1988
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10748,6 +10738,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10748
10738
|
)
|
|
10749
10739
|
|
|
10750
10740
|
|
|
10741
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10742
|
+
description: str = Field(..., min_length=1)
|
|
10743
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10744
|
+
..., title='Tags'
|
|
10745
|
+
)
|
|
10746
|
+
|
|
10747
|
+
|
|
10751
10748
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10752
10749
|
org_id: str = Field(
|
|
10753
10750
|
...,
|
|
@@ -10889,18 +10886,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10889
10886
|
)
|
|
10890
10887
|
|
|
10891
10888
|
|
|
10889
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10890
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10891
|
+
):
|
|
10892
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10893
|
+
...,
|
|
10894
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10895
|
+
min_length=1,
|
|
10896
|
+
title='User Dimensions',
|
|
10897
|
+
)
|
|
10898
|
+
|
|
10899
|
+
|
|
10892
10900
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10893
10901
|
OrganizationCreateOrganizationRequestPreferences
|
|
10894
10902
|
)
|
|
10895
10903
|
|
|
10896
10904
|
|
|
10897
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10898
|
-
description: str = Field(..., min_length=1)
|
|
10899
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10900
|
-
..., title='Tags'
|
|
10901
|
-
)
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
10905
|
class RoleAssignRoleRequest(BaseModel):
|
|
10905
10906
|
user_id: str = Field(
|
|
10906
10907
|
...,
|
|
@@ -11144,16 +11145,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11144
11145
|
)
|
|
11145
11146
|
|
|
11146
11147
|
|
|
11147
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11148
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11149
|
-
run_count: int = Field(
|
|
11150
|
-
...,
|
|
11151
|
-
description='The number of times to run the unit test.',
|
|
11152
|
-
gt=0,
|
|
11153
|
-
title='Run Count',
|
|
11154
|
-
)
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
11148
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11158
11149
|
simulation_unit_test_set_id: str = Field(
|
|
11159
11150
|
...,
|
|
@@ -11244,6 +11235,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11244
11235
|
)
|
|
11245
11236
|
|
|
11246
11237
|
|
|
11238
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(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, Optional[str]] = 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: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11257
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11258
|
+
)
|
|
11259
|
+
updated_at: AwareDatetime = Field(
|
|
11260
|
+
...,
|
|
11261
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11262
|
+
title='Updated At',
|
|
11263
|
+
)
|
|
11264
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11265
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11266
|
+
)
|
|
11267
|
+
|
|
11268
|
+
|
|
11247
11269
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11248
11270
|
presigned_url: str = Field(
|
|
11249
11271
|
...,
|
|
@@ -11366,34 +11388,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11366
11388
|
)
|
|
11367
11389
|
|
|
11368
11390
|
|
|
11369
|
-
class
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
)
|
|
11374
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11375
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11376
|
-
)
|
|
11377
|
-
is_deleted: bool = Field(
|
|
11378
|
-
...,
|
|
11379
|
-
description='Whether the simulation scenario is deleted.',
|
|
11380
|
-
title='Is Deleted',
|
|
11381
|
-
)
|
|
11382
|
-
created_at: AwareDatetime = Field(
|
|
11383
|
-
...,
|
|
11384
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11385
|
-
title='Created At',
|
|
11386
|
-
)
|
|
11387
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11388
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11389
|
-
)
|
|
11390
|
-
updated_at: AwareDatetime = Field(
|
|
11391
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11392
|
+
simulation_scenarios: List[
|
|
11393
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11394
|
+
] = Field(
|
|
11391
11395
|
...,
|
|
11392
|
-
description='The
|
|
11393
|
-
title='
|
|
11394
|
-
)
|
|
11395
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11396
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11396
|
+
description='The list of simulation scenarios.',
|
|
11397
|
+
title='Simulation Scenarios',
|
|
11397
11398
|
)
|
|
11398
11399
|
|
|
11399
11400
|
|
|
@@ -11454,39 +11455,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11454
11455
|
)
|
|
11455
11456
|
|
|
11456
11457
|
|
|
11457
|
-
class
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
min_length=1,
|
|
11465
|
-
title='Unit Test Runs',
|
|
11466
|
-
)
|
|
11467
|
-
)
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11471
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11472
|
-
None, description='The name of the simulation unit test set.'
|
|
11473
|
-
)
|
|
11474
|
-
description: Optional[
|
|
11475
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11476
|
-
] = Field(
|
|
11477
|
-
{},
|
|
11478
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11479
|
-
title='Description',
|
|
11480
|
-
)
|
|
11481
|
-
unit_test_runs: Optional[
|
|
11482
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11483
|
-
] = Field(
|
|
11484
|
-
None,
|
|
11485
|
-
description='The unit test runs that are part of this set.',
|
|
11486
|
-
title='Unit Test Runs',
|
|
11487
|
-
)
|
|
11488
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11489
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11458
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11459
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11460
|
+
run_count: int = Field(
|
|
11461
|
+
...,
|
|
11462
|
+
description='The number of times to run the unit test.',
|
|
11463
|
+
gt=0,
|
|
11464
|
+
title='Run Count',
|
|
11490
11465
|
)
|
|
11491
11466
|
|
|
11492
11467
|
|
|
@@ -11523,6 +11498,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11523
11498
|
)
|
|
11524
11499
|
|
|
11525
11500
|
|
|
11501
|
+
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11502
|
+
regular = 'regular'
|
|
11503
|
+
conversation_simulation = 'conversation-simulation'
|
|
11504
|
+
|
|
11505
|
+
|
|
11506
|
+
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11507
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11508
|
+
...,
|
|
11509
|
+
description='The input parameters for the tool invocation.',
|
|
11510
|
+
title='Input Parameters',
|
|
11511
|
+
)
|
|
11512
|
+
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11513
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11514
|
+
)
|
|
11515
|
+
|
|
11516
|
+
|
|
11526
11517
|
class ToolModifyToolRequest(BaseModel):
|
|
11527
11518
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11528
11519
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11565,19 +11556,34 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11565
11556
|
)
|
|
11566
11557
|
|
|
11567
11558
|
|
|
11568
|
-
class
|
|
11569
|
-
|
|
11570
|
-
conversation_simulation = 'conversation-simulation'
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
class ToolTestToolRequestInput(BaseModel):
|
|
11574
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11559
|
+
class ToolTestToolRequest(BaseModel):
|
|
11560
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
11575
11561
|
...,
|
|
11576
|
-
description='The
|
|
11577
|
-
|
|
11562
|
+
description='The list of inputs for the tool invocation.',
|
|
11563
|
+
max_length=10,
|
|
11564
|
+
min_length=1,
|
|
11565
|
+
title='Inputs',
|
|
11578
11566
|
)
|
|
11579
|
-
|
|
11580
|
-
...,
|
|
11567
|
+
commit_branch: str = Field(
|
|
11568
|
+
...,
|
|
11569
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
11570
|
+
title='Commit Branch',
|
|
11571
|
+
)
|
|
11572
|
+
project_path: str = Field(
|
|
11573
|
+
...,
|
|
11574
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11575
|
+
pattern='^[-\\w\\d_/]+$',
|
|
11576
|
+
title='Project Path',
|
|
11577
|
+
)
|
|
11578
|
+
required_envvars: Dict[str, str] = Field(
|
|
11579
|
+
...,
|
|
11580
|
+
description='The environment variables required for the tool to run.',
|
|
11581
|
+
title='Required Envvars',
|
|
11582
|
+
)
|
|
11583
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
11584
|
+
...,
|
|
11585
|
+
description='The secret environment variables required for the tool to run.',
|
|
11586
|
+
title='Required Secret Envvars',
|
|
11581
11587
|
)
|
|
11582
11588
|
|
|
11583
11589
|
|
|
@@ -13845,7 +13851,7 @@ class ServiceInstance(BaseModel):
|
|
|
13845
13851
|
agent_id: str = Field(
|
|
13846
13852
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13847
13853
|
)
|
|
13848
|
-
tags: List[
|
|
13854
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
13849
13855
|
..., description='The tags of the service.', title='Tags'
|
|
13850
13856
|
)
|
|
13851
13857
|
|
|
@@ -13898,7 +13904,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13898
13904
|
description='Whether the unit test set has been deleted.',
|
|
13899
13905
|
title='Is Deleted',
|
|
13900
13906
|
)
|
|
13901
|
-
tags: List[
|
|
13907
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
13902
13908
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13903
13909
|
)
|
|
13904
13910
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13937,7 +13943,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13937
13943
|
description='Whether the unit test set has been deleted.',
|
|
13938
13944
|
title='Is Deleted',
|
|
13939
13945
|
)
|
|
13940
|
-
tags: List[
|
|
13946
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
13941
13947
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13942
13948
|
)
|
|
13943
13949
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14053,7 +14059,7 @@ class ToolInstance(BaseModel):
|
|
|
14053
14059
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14054
14060
|
title='Secret Envvars',
|
|
14055
14061
|
)
|
|
14056
|
-
tags: List[
|
|
14062
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
14057
14063
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14058
14064
|
)
|
|
14059
14065
|
|
|
@@ -14387,7 +14393,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14387
14393
|
|
|
14388
14394
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14389
14395
|
dynamic_behavior_sets: List[
|
|
14390
|
-
|
|
14396
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14391
14397
|
] = Field(
|
|
14392
14398
|
...,
|
|
14393
14399
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14411,6 +14417,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14411
14417
|
)
|
|
14412
14418
|
|
|
14413
14419
|
|
|
14420
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14421
|
+
dynamic_behavior_sets: List[
|
|
14422
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14423
|
+
] = Field(
|
|
14424
|
+
...,
|
|
14425
|
+
description='The retrieved dynamic behavior sets.',
|
|
14426
|
+
title='Dynamic Behavior Sets',
|
|
14427
|
+
)
|
|
14428
|
+
|
|
14429
|
+
|
|
14414
14430
|
class MetricCreateMetricRequest(BaseModel):
|
|
14415
14431
|
name: str = Field(
|
|
14416
14432
|
...,
|
|
@@ -14467,7 +14483,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14467
14483
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14468
14484
|
min_length=1,
|
|
14469
14485
|
)
|
|
14470
|
-
user_dimensions: List[
|
|
14486
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14471
14487
|
...,
|
|
14472
14488
|
description='User dimensions for the organization.',
|
|
14473
14489
|
title='User Dimensions',
|
|
@@ -14611,17 +14627,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14611
14627
|
)
|
|
14612
14628
|
|
|
14613
14629
|
|
|
14614
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14615
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14616
|
-
):
|
|
14617
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14618
|
-
...,
|
|
14619
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14620
|
-
min_length=1,
|
|
14621
|
-
title='User Dimensions',
|
|
14622
|
-
)
|
|
14623
|
-
|
|
14624
|
-
|
|
14625
14630
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14626
14631
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14627
14632
|
None,
|
|
@@ -14679,7 +14684,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14679
14684
|
)
|
|
14680
14685
|
|
|
14681
14686
|
|
|
14682
|
-
class
|
|
14687
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14683
14688
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14684
14689
|
...,
|
|
14685
14690
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14696,29 +14701,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14696
14701
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14697
14702
|
|
|
14698
14703
|
|
|
14699
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
14700
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14701
|
-
None,
|
|
14702
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14703
|
-
)
|
|
14704
|
-
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14705
|
-
None,
|
|
14706
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14707
|
-
title='Permission Grants',
|
|
14708
|
-
)
|
|
14709
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
14710
|
-
None,
|
|
14711
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14712
|
-
)
|
|
14713
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14714
|
-
Field(
|
|
14715
|
-
{},
|
|
14716
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14717
|
-
title='Inherited From',
|
|
14718
|
-
)
|
|
14719
|
-
)
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
14704
|
class ServiceGetServicesResponse(BaseModel):
|
|
14723
14705
|
services: List[ServiceInstance] = Field(
|
|
14724
14706
|
..., description='The services that are found.', title='Services'
|
|
@@ -14808,7 +14790,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14808
14790
|
..., description='The description of the simulation unit test set.'
|
|
14809
14791
|
)
|
|
14810
14792
|
unit_test_runs: List[
|
|
14811
|
-
|
|
14793
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14812
14794
|
] = Field(
|
|
14813
14795
|
...,
|
|
14814
14796
|
description='The unit test runs that are part of this set.',
|
|
@@ -14846,7 +14828,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14846
14828
|
|
|
14847
14829
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14848
14830
|
simulation_scenarios: List[
|
|
14849
|
-
|
|
14831
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14850
14832
|
] = Field(
|
|
14851
14833
|
...,
|
|
14852
14834
|
description='The list of simulation scenarios.',
|
|
@@ -14902,16 +14884,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14902
14884
|
)
|
|
14903
14885
|
|
|
14904
14886
|
|
|
14905
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14906
|
-
simulation_scenarios: List[
|
|
14907
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14908
|
-
] = Field(
|
|
14909
|
-
...,
|
|
14910
|
-
description='The list of simulation scenarios.',
|
|
14911
|
-
title='Simulation Scenarios',
|
|
14912
|
-
)
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
14887
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14916
14888
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14917
14889
|
...,
|
|
@@ -14925,6 +14897,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14925
14897
|
)
|
|
14926
14898
|
|
|
14927
14899
|
|
|
14900
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14901
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14902
|
+
):
|
|
14903
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14904
|
+
Field(
|
|
14905
|
+
...,
|
|
14906
|
+
description='The unit test runs that are part of this set.',
|
|
14907
|
+
min_length=1,
|
|
14908
|
+
title='Unit Test Runs',
|
|
14909
|
+
)
|
|
14910
|
+
)
|
|
14911
|
+
|
|
14912
|
+
|
|
14913
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14914
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14915
|
+
None, description='The name of the simulation unit test set.'
|
|
14916
|
+
)
|
|
14917
|
+
description: Optional[
|
|
14918
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14919
|
+
] = Field(
|
|
14920
|
+
{},
|
|
14921
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14922
|
+
title='Description',
|
|
14923
|
+
)
|
|
14924
|
+
unit_test_runs: Optional[
|
|
14925
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14926
|
+
] = Field(
|
|
14927
|
+
None,
|
|
14928
|
+
description='The unit test runs that are part of this set.',
|
|
14929
|
+
title='Unit Test Runs',
|
|
14930
|
+
)
|
|
14931
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14932
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14933
|
+
)
|
|
14934
|
+
|
|
14935
|
+
|
|
14928
14936
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14929
14937
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14930
14938
|
...,
|
|
@@ -14966,7 +14974,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14966
14974
|
|
|
14967
14975
|
|
|
14968
14976
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14969
|
-
inputs: List[
|
|
14977
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
14970
14978
|
...,
|
|
14971
14979
|
description='The list of inputs for the tool invocation.',
|
|
14972
14980
|
max_length=10,
|
|
@@ -14987,37 +14995,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
14987
14995
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
14988
14996
|
|
|
14989
14997
|
|
|
14990
|
-
class ToolTestToolRequest(BaseModel):
|
|
14991
|
-
inputs: List[ToolTestToolRequestInput] = Field(
|
|
14992
|
-
...,
|
|
14993
|
-
description='The list of inputs for the tool invocation.',
|
|
14994
|
-
max_length=10,
|
|
14995
|
-
min_length=1,
|
|
14996
|
-
title='Inputs',
|
|
14997
|
-
)
|
|
14998
|
-
commit_branch: str = Field(
|
|
14999
|
-
...,
|
|
15000
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
15001
|
-
title='Commit Branch',
|
|
15002
|
-
)
|
|
15003
|
-
project_path: str = Field(
|
|
15004
|
-
...,
|
|
15005
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15006
|
-
pattern='^[-\\w\\d_/]+$',
|
|
15007
|
-
title='Project Path',
|
|
15008
|
-
)
|
|
15009
|
-
required_envvars: Dict[str, str] = Field(
|
|
15010
|
-
...,
|
|
15011
|
-
description='The environment variables required for the tool to run.',
|
|
15012
|
-
title='Required Envvars',
|
|
15013
|
-
)
|
|
15014
|
-
required_secret_envvars: Dict[str, str] = Field(
|
|
15015
|
-
...,
|
|
15016
|
-
description='The secret environment variables required for the tool to run.',
|
|
15017
|
-
title='Required Secret Envvars',
|
|
15018
|
-
)
|
|
15019
|
-
|
|
15020
|
-
|
|
15021
14998
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15022
14999
|
|
|
15023
15000
|
|
|
@@ -15058,7 +15035,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15058
15035
|
)
|
|
15059
15036
|
|
|
15060
15037
|
|
|
15061
|
-
class
|
|
15038
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15062
15039
|
org_id: str = Field(
|
|
15063
15040
|
...,
|
|
15064
15041
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15083,12 +15060,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15083
15060
|
)
|
|
15084
15061
|
|
|
15085
15062
|
|
|
15086
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15087
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15088
|
-
..., description='Users in this organization.', title='Users'
|
|
15089
|
-
)
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
15063
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15093
15064
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15094
15065
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15272,7 +15243,7 @@ class Metric(BaseModel):
|
|
|
15272
15243
|
additional_notes: Optional[str] = Field(
|
|
15273
15244
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15274
15245
|
)
|
|
15275
|
-
tags: List[
|
|
15246
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15276
15247
|
..., description='The tags of the metric.', title='Tags'
|
|
15277
15248
|
)
|
|
15278
15249
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15342,7 +15313,7 @@ class MetricInstance(BaseModel):
|
|
|
15342
15313
|
additional_notes: Optional[str] = Field(
|
|
15343
15314
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15344
15315
|
)
|
|
15345
|
-
tags: List[
|
|
15316
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15346
15317
|
..., description='The tags of the metric.', title='Tags'
|
|
15347
15318
|
)
|
|
15348
15319
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15544,7 +15515,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15544
15515
|
is_deleted: bool = Field(
|
|
15545
15516
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15546
15517
|
)
|
|
15547
|
-
tags: List[
|
|
15518
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15548
15519
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15549
15520
|
)
|
|
15550
15521
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15589,7 +15560,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15589
15560
|
is_deleted: bool = Field(
|
|
15590
15561
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15591
15562
|
)
|
|
15592
|
-
tags: List[
|
|
15563
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15593
15564
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15594
15565
|
)
|
|
15595
15566
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15892,7 +15863,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15892
15863
|
description: str = Field(
|
|
15893
15864
|
..., description='A description about the role.', min_length=1
|
|
15894
15865
|
)
|
|
15895
|
-
permission_grants: List[
|
|
15866
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
15896
15867
|
...,
|
|
15897
15868
|
description='A list of permission grants associated with this role.',
|
|
15898
15869
|
title='Permission Grants',
|
|
@@ -15918,6 +15889,29 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15918
15889
|
)
|
|
15919
15890
|
|
|
15920
15891
|
|
|
15892
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
15893
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15894
|
+
None,
|
|
15895
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15896
|
+
)
|
|
15897
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15898
|
+
None,
|
|
15899
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15900
|
+
title='Permission Grants',
|
|
15901
|
+
)
|
|
15902
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
15903
|
+
None,
|
|
15904
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
15905
|
+
)
|
|
15906
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
15907
|
+
Field(
|
|
15908
|
+
{},
|
|
15909
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15910
|
+
title='Inherited From',
|
|
15911
|
+
)
|
|
15912
|
+
)
|
|
15913
|
+
|
|
15914
|
+
|
|
15921
15915
|
class ServiceCreateServiceRequest(BaseModel):
|
|
15922
15916
|
service_hierarchical_state_machine_id: str = Field(
|
|
15923
15917
|
...,
|
|
@@ -16126,7 +16120,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16126
16120
|
|
|
16127
16121
|
|
|
16128
16122
|
class UserGetUsersResponse(BaseModel):
|
|
16129
|
-
users: List[
|
|
16123
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16130
16124
|
..., description='Users in this organization.', title='Users'
|
|
16131
16125
|
)
|
|
16132
16126
|
has_more: bool = Field(
|
|
@@ -16139,6 +16133,12 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16139
16133
|
)
|
|
16140
16134
|
|
|
16141
16135
|
|
|
16136
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16137
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16138
|
+
..., description='Users in this organization.', title='Users'
|
|
16139
|
+
)
|
|
16140
|
+
|
|
16141
|
+
|
|
16142
16142
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16143
16143
|
org_id: str = Field(..., title='Org Id')
|
|
16144
16144
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=67MLi4srbwW9vkJyLnDDEC6x6rLAQNh5IKfLkRJvLpk,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=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=Fiw9s5Eo1nqQPUIBGCncKR2j-DFoXu83l9h_eFcuDXE,453760
|
|
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.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.63.0.dist-info/METADATA,sha256=GNqgdLy0eqXw0HybQhKrdeCT4U9sQOIJ6SCTq8EOutM,8350
|
|
15
|
+
amigo_sdk-0.63.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
amigo_sdk-0.63.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.63.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.63.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|