amigo_sdk 0.81.0__py3-none-any.whl → 0.82.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 +285 -283
- {amigo_sdk-0.81.0.dist-info → amigo_sdk-0.82.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.81.0.dist-info → amigo_sdk-0.82.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.81.0.dist-info → amigo_sdk-0.82.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.81.0.dist-info → amigo_sdk-0.82.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.81.0.dist-info → amigo_sdk-0.82.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-08T09:30:13+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1616,11 +1616,6 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1616
1616
|
)
|
|
1617
1617
|
|
|
1618
1618
|
|
|
1619
|
-
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1620
|
-
key: str = Field(..., title='Key')
|
|
1621
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
1619
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1625
1620
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1626
1621
|
)
|
|
@@ -1669,6 +1664,11 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
|
1669
1664
|
)
|
|
1670
1665
|
|
|
1671
1666
|
|
|
1667
|
+
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1668
|
+
key: str = Field(..., title='Key')
|
|
1669
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
1672
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1673
1673
|
BaseModel
|
|
1674
1674
|
):
|
|
@@ -1705,12 +1705,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1705
1705
|
)
|
|
1706
1706
|
|
|
1707
1707
|
|
|
1708
|
-
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1709
|
-
major: int = Field(..., title='Major')
|
|
1710
|
-
minor: int = Field(..., title='Minor')
|
|
1711
|
-
patch: int = Field(..., title='Patch')
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
1708
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1715
1709
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1716
1710
|
user_org_id: str = Field(
|
|
@@ -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,
|
|
@@ -10743,13 +10743,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10743
10743
|
)
|
|
10744
10744
|
|
|
10745
10745
|
|
|
10746
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
-
description: str = Field(..., min_length=1)
|
|
10748
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
-
..., title='Tags'
|
|
10750
|
-
)
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
10746
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10754
10747
|
org_id: str = Field(
|
|
10755
10748
|
...,
|
|
@@ -10773,19 +10766,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10773
10766
|
)
|
|
10774
10767
|
|
|
10775
10768
|
|
|
10776
|
-
class
|
|
10769
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
|
|
10777
10770
|
AnnotationStateInputNextState
|
|
10778
10771
|
):
|
|
10779
10772
|
pass
|
|
10780
10773
|
|
|
10781
10774
|
|
|
10782
|
-
class
|
|
10775
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10783
10776
|
BaseModel
|
|
10784
10777
|
):
|
|
10785
10778
|
description: str = Field(..., min_length=1)
|
|
10786
10779
|
next_state: Union[
|
|
10787
10780
|
StateOrRefName,
|
|
10788
|
-
|
|
10781
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
|
|
10789
10782
|
] = Field(..., title='Next State')
|
|
10790
10783
|
|
|
10791
10784
|
|
|
@@ -10891,22 +10884,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10891
10884
|
)
|
|
10892
10885
|
|
|
10893
10886
|
|
|
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
10887
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10906
10888
|
OrganizationCreateOrganizationRequestPreferences
|
|
10907
10889
|
)
|
|
10908
10890
|
|
|
10909
10891
|
|
|
10892
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10893
|
+
description: str = Field(..., min_length=1)
|
|
10894
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10895
|
+
..., title='Tags'
|
|
10896
|
+
)
|
|
10897
|
+
|
|
10898
|
+
|
|
10910
10899
|
class RoleAssignRoleRequest(BaseModel):
|
|
10911
10900
|
user_id: str = Field(
|
|
10912
10901
|
...,
|
|
@@ -10953,6 +10942,13 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10953
10942
|
)
|
|
10954
10943
|
|
|
10955
10944
|
|
|
10945
|
+
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10946
|
+
llm_name: LLMType
|
|
10947
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
10948
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10949
|
+
)
|
|
10950
|
+
|
|
10951
|
+
|
|
10956
10952
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10957
10953
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10958
10954
|
|
|
@@ -11012,13 +11008,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11012
11008
|
)
|
|
11013
11009
|
|
|
11014
11010
|
|
|
11015
|
-
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11016
|
-
llm_name: LLMType
|
|
11017
|
-
params: Optional[Dict[str, Any]] = Field(
|
|
11018
|
-
{}, description='LLM-specific parameters to use.', title='Params'
|
|
11019
|
-
)
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
11011
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
11023
11012
|
background: str = Field(
|
|
11024
11013
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11137,6 +11126,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11137
11126
|
)
|
|
11138
11127
|
|
|
11139
11128
|
|
|
11129
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11130
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11131
|
+
run_count: int = Field(
|
|
11132
|
+
...,
|
|
11133
|
+
description='The number of times to run the unit test.',
|
|
11134
|
+
gt=0,
|
|
11135
|
+
title='Run Count',
|
|
11136
|
+
)
|
|
11137
|
+
|
|
11138
|
+
|
|
11140
11139
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11141
11140
|
simulation_unit_test_set_id: str = Field(
|
|
11142
11141
|
...,
|
|
@@ -11196,40 +11195,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11196
11195
|
)
|
|
11197
11196
|
|
|
11198
11197
|
|
|
11199
|
-
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11200
|
-
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11201
|
-
name: str = Field(
|
|
11202
|
-
..., description='The name of the simulation persona.', title='Name'
|
|
11203
|
-
)
|
|
11204
|
-
role: str = Field(
|
|
11205
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11206
|
-
)
|
|
11207
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11208
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11209
|
-
)
|
|
11210
|
-
is_deleted: bool = Field(
|
|
11211
|
-
...,
|
|
11212
|
-
description='Whether the simulation persona is deleted.',
|
|
11213
|
-
title='Is Deleted',
|
|
11214
|
-
)
|
|
11215
|
-
created_at: AwareDatetime = Field(
|
|
11216
|
-
...,
|
|
11217
|
-
description='The timestamp when the simulation persona was created.',
|
|
11218
|
-
title='Created At',
|
|
11219
|
-
)
|
|
11220
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11221
|
-
..., description='The user who created the simulation persona.'
|
|
11222
|
-
)
|
|
11223
|
-
updated_at: AwareDatetime = Field(
|
|
11224
|
-
...,
|
|
11225
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11226
|
-
title='Updated At',
|
|
11227
|
-
)
|
|
11228
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11229
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11230
|
-
)
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
11198
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11234
11199
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11235
11200
|
...,
|
|
@@ -11261,37 +11226,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11261
11226
|
)
|
|
11262
11227
|
|
|
11263
11228
|
|
|
11264
|
-
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11265
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11266
|
-
name: str = Field(
|
|
11267
|
-
..., description='The name of the simulation scenario.', title='Name'
|
|
11268
|
-
)
|
|
11269
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11270
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11271
|
-
)
|
|
11272
|
-
is_deleted: bool = Field(
|
|
11273
|
-
...,
|
|
11274
|
-
description='Whether the simulation scenario is deleted.',
|
|
11275
|
-
title='Is Deleted',
|
|
11276
|
-
)
|
|
11277
|
-
created_at: AwareDatetime = Field(
|
|
11278
|
-
...,
|
|
11279
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11280
|
-
title='Created At',
|
|
11281
|
-
)
|
|
11282
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11283
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11284
|
-
)
|
|
11285
|
-
updated_at: AwareDatetime = Field(
|
|
11286
|
-
...,
|
|
11287
|
-
description='The timestamp when the simulation scenario was last updated.',
|
|
11288
|
-
title='Updated At',
|
|
11289
|
-
)
|
|
11290
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11291
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11292
|
-
)
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
11229
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11296
11230
|
presigned_url: str = Field(
|
|
11297
11231
|
...,
|
|
@@ -11380,21 +11314,68 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11380
11314
|
)
|
|
11381
11315
|
|
|
11382
11316
|
|
|
11383
|
-
class
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11317
|
+
class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11318
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11319
|
+
name: str = Field(
|
|
11320
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11321
|
+
)
|
|
11322
|
+
role: str = Field(
|
|
11323
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11324
|
+
)
|
|
11325
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11326
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11327
|
+
)
|
|
11328
|
+
is_deleted: bool = Field(
|
|
11329
|
+
...,
|
|
11330
|
+
description='Whether the simulation persona is deleted.',
|
|
11331
|
+
title='Is Deleted',
|
|
11332
|
+
)
|
|
11333
|
+
created_at: AwareDatetime = Field(
|
|
11334
|
+
...,
|
|
11335
|
+
description='The timestamp when the simulation persona was created.',
|
|
11336
|
+
title='Created At',
|
|
11337
|
+
)
|
|
11338
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11339
|
+
..., description='The user who created the simulation persona.'
|
|
11340
|
+
)
|
|
11341
|
+
updated_at: AwareDatetime = Field(
|
|
11342
|
+
...,
|
|
11343
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11344
|
+
title='Updated At',
|
|
11345
|
+
)
|
|
11346
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11347
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11388
11348
|
)
|
|
11389
11349
|
|
|
11390
11350
|
|
|
11391
|
-
class
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11351
|
+
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11352
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11353
|
+
name: str = Field(
|
|
11354
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11355
|
+
)
|
|
11356
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11357
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11358
|
+
)
|
|
11359
|
+
is_deleted: bool = Field(
|
|
11395
11360
|
...,
|
|
11396
|
-
description='
|
|
11397
|
-
title='
|
|
11361
|
+
description='Whether the simulation scenario is deleted.',
|
|
11362
|
+
title='Is Deleted',
|
|
11363
|
+
)
|
|
11364
|
+
created_at: AwareDatetime = Field(
|
|
11365
|
+
...,
|
|
11366
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11367
|
+
title='Created At',
|
|
11368
|
+
)
|
|
11369
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11370
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11371
|
+
)
|
|
11372
|
+
updated_at: AwareDatetime = Field(
|
|
11373
|
+
...,
|
|
11374
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11375
|
+
title='Updated At',
|
|
11376
|
+
)
|
|
11377
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11378
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11398
11379
|
)
|
|
11399
11380
|
|
|
11400
11381
|
|
|
@@ -11455,13 +11436,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11455
11436
|
)
|
|
11456
11437
|
|
|
11457
11438
|
|
|
11458
|
-
class
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11439
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
11440
|
+
RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11441
|
+
):
|
|
11442
|
+
root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11443
|
+
Field(
|
|
11444
|
+
...,
|
|
11445
|
+
description='The unit test runs that are part of this set.',
|
|
11446
|
+
min_length=1,
|
|
11447
|
+
title='Unit Test Runs',
|
|
11448
|
+
)
|
|
11449
|
+
)
|
|
11450
|
+
|
|
11451
|
+
|
|
11452
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11453
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11454
|
+
None, description='The name of the simulation unit test set.'
|
|
11455
|
+
)
|
|
11456
|
+
description: Optional[
|
|
11457
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11458
|
+
] = Field(
|
|
11459
|
+
{},
|
|
11460
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11461
|
+
title='Description',
|
|
11462
|
+
)
|
|
11463
|
+
unit_test_runs: Optional[
|
|
11464
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11465
|
+
] = Field(
|
|
11466
|
+
None,
|
|
11467
|
+
description='The unit test runs that are part of this set.',
|
|
11468
|
+
title='Unit Test Runs',
|
|
11469
|
+
)
|
|
11470
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11471
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11465
11472
|
)
|
|
11466
11473
|
|
|
11467
11474
|
|
|
@@ -11655,7 +11662,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11655
11662
|
)
|
|
11656
11663
|
|
|
11657
11664
|
|
|
11658
|
-
class
|
|
11665
|
+
class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
11659
11666
|
num_conversations: int = Field(
|
|
11660
11667
|
...,
|
|
11661
11668
|
description='The number of conversations the user has created.',
|
|
@@ -11673,31 +11680,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11673
11680
|
)
|
|
11674
11681
|
|
|
11675
11682
|
|
|
11676
|
-
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11677
|
-
org_id: str = Field(
|
|
11678
|
-
...,
|
|
11679
|
-
description='The ID of the organization that this user belongs to.',
|
|
11680
|
-
title='Org Id',
|
|
11681
|
-
)
|
|
11682
|
-
user_id: str = Field(
|
|
11683
|
-
..., description='The identifier of the user.', title='User Id'
|
|
11684
|
-
)
|
|
11685
|
-
first_name: str = Field(
|
|
11686
|
-
..., description='The first name of the user.', title='First Name'
|
|
11687
|
-
)
|
|
11688
|
-
last_name: str = Field(
|
|
11689
|
-
..., description='The last name of the user.', title='Last Name'
|
|
11690
|
-
)
|
|
11691
|
-
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11692
|
-
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11693
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11694
|
-
)
|
|
11695
|
-
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11696
|
-
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11697
|
-
..., description='The preferences of the user.'
|
|
11698
|
-
)
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
11683
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11702
11684
|
id_token: str = Field(
|
|
11703
11685
|
...,
|
|
@@ -13925,9 +13907,9 @@ class ServiceInstance(BaseModel):
|
|
|
13925
13907
|
agent_id: str = Field(
|
|
13926
13908
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13927
13909
|
)
|
|
13928
|
-
tags: List[
|
|
13929
|
-
|
|
13930
|
-
)
|
|
13910
|
+
tags: List[
|
|
13911
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13912
|
+
] = Field(..., description='The tags of the service.', title='Tags')
|
|
13931
13913
|
|
|
13932
13914
|
|
|
13933
13915
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -13978,7 +13960,9 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13978
13960
|
description='Whether the unit test set has been deleted.',
|
|
13979
13961
|
title='Is Deleted',
|
|
13980
13962
|
)
|
|
13981
|
-
tags: List[
|
|
13963
|
+
tags: List[
|
|
13964
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13965
|
+
] = Field(
|
|
13982
13966
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13983
13967
|
)
|
|
13984
13968
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14017,7 +14001,9 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14017
14001
|
description='Whether the unit test set has been deleted.',
|
|
14018
14002
|
title='Is Deleted',
|
|
14019
14003
|
)
|
|
14020
|
-
tags: List[
|
|
14004
|
+
tags: List[
|
|
14005
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14006
|
+
] = Field(
|
|
14021
14007
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14022
14008
|
)
|
|
14023
14009
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14133,9 +14119,9 @@ class ToolInstance(BaseModel):
|
|
|
14133
14119
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14134
14120
|
title='Secret Envvars',
|
|
14135
14121
|
)
|
|
14136
|
-
tags: List[
|
|
14137
|
-
|
|
14138
|
-
)
|
|
14122
|
+
tags: List[
|
|
14123
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14124
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
14139
14125
|
|
|
14140
14126
|
|
|
14141
14127
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14148,7 +14134,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14148
14134
|
description='The ID of the tool that this version belongs to.',
|
|
14149
14135
|
title='Tool Id',
|
|
14150
14136
|
)
|
|
14151
|
-
version:
|
|
14137
|
+
version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
14152
14138
|
..., description='The version of the tool.'
|
|
14153
14139
|
)
|
|
14154
14140
|
required_envvars: List[str] = Field(
|
|
@@ -14554,7 +14540,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14554
14540
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14555
14541
|
min_length=1,
|
|
14556
14542
|
)
|
|
14557
|
-
user_dimensions: List[
|
|
14543
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14558
14544
|
...,
|
|
14559
14545
|
description='User dimensions for the organization.',
|
|
14560
14546
|
title='User Dimensions',
|
|
@@ -14698,6 +14684,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14698
14684
|
)
|
|
14699
14685
|
|
|
14700
14686
|
|
|
14687
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14688
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14689
|
+
):
|
|
14690
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14691
|
+
...,
|
|
14692
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14693
|
+
min_length=1,
|
|
14694
|
+
title='User Dimensions',
|
|
14695
|
+
)
|
|
14696
|
+
|
|
14697
|
+
|
|
14701
14698
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14702
14699
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14703
14700
|
None,
|
|
@@ -14755,7 +14752,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14755
14752
|
)
|
|
14756
14753
|
|
|
14757
14754
|
|
|
14758
|
-
class
|
|
14755
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14759
14756
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14760
14757
|
...,
|
|
14761
14758
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14772,6 +14769,45 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14772
14769
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14773
14770
|
|
|
14774
14771
|
|
|
14772
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14773
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14774
|
+
None,
|
|
14775
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14776
|
+
)
|
|
14777
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14778
|
+
None,
|
|
14779
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14780
|
+
title='Permission Grants',
|
|
14781
|
+
)
|
|
14782
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14783
|
+
None,
|
|
14784
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14785
|
+
)
|
|
14786
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14787
|
+
Field(
|
|
14788
|
+
{},
|
|
14789
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14790
|
+
title='Inherited From',
|
|
14791
|
+
)
|
|
14792
|
+
)
|
|
14793
|
+
|
|
14794
|
+
|
|
14795
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14796
|
+
agent_version_number: Optional[int] = Field(
|
|
14797
|
+
...,
|
|
14798
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14799
|
+
title='Agent Version Number',
|
|
14800
|
+
)
|
|
14801
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14802
|
+
...,
|
|
14803
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14804
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14805
|
+
)
|
|
14806
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14807
|
+
Field(..., title='Llm Model Preferences')
|
|
14808
|
+
)
|
|
14809
|
+
|
|
14810
|
+
|
|
14775
14811
|
class ServiceGetServicesResponse(BaseModel):
|
|
14776
14812
|
services: List[ServiceInstance] = Field(
|
|
14777
14813
|
..., description='The services that are found.', title='Services'
|
|
@@ -14792,20 +14828,10 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14792
14828
|
)
|
|
14793
14829
|
|
|
14794
14830
|
|
|
14795
|
-
class
|
|
14796
|
-
|
|
14797
|
-
...,
|
|
14798
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14799
|
-
title='Agent Version Number',
|
|
14800
|
-
)
|
|
14801
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14802
|
-
...,
|
|
14803
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14804
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14831
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14832
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14833
|
+
..., description='The version set to upsert.'
|
|
14805
14834
|
)
|
|
14806
|
-
llm_model_preferences: Dict[
|
|
14807
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14808
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14809
14835
|
|
|
14810
14836
|
|
|
14811
14837
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14857,7 +14883,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14857
14883
|
..., description='The description of the simulation unit test set.'
|
|
14858
14884
|
)
|
|
14859
14885
|
unit_test_runs: List[
|
|
14860
|
-
|
|
14886
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14861
14887
|
] = Field(
|
|
14862
14888
|
...,
|
|
14863
14889
|
description='The unit test runs that are part of this set.',
|
|
@@ -14871,7 +14897,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14871
14897
|
|
|
14872
14898
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14873
14899
|
simulation_personas: List[
|
|
14874
|
-
|
|
14900
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14875
14901
|
] = Field(
|
|
14876
14902
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14877
14903
|
)
|
|
@@ -14895,7 +14921,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14895
14921
|
|
|
14896
14922
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14897
14923
|
simulation_scenarios: List[
|
|
14898
|
-
|
|
14924
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14899
14925
|
] = Field(
|
|
14900
14926
|
...,
|
|
14901
14927
|
description='The list of simulation scenarios.',
|
|
@@ -14943,6 +14969,24 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14943
14969
|
)
|
|
14944
14970
|
|
|
14945
14971
|
|
|
14972
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14973
|
+
simulation_personas: List[
|
|
14974
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14975
|
+
] = Field(
|
|
14976
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14977
|
+
)
|
|
14978
|
+
|
|
14979
|
+
|
|
14980
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14981
|
+
simulation_scenarios: List[
|
|
14982
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14983
|
+
] = Field(
|
|
14984
|
+
...,
|
|
14985
|
+
description='The list of simulation scenarios.',
|
|
14986
|
+
title='Simulation Scenarios',
|
|
14987
|
+
)
|
|
14988
|
+
|
|
14989
|
+
|
|
14946
14990
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14947
14991
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14948
14992
|
...,
|
|
@@ -14956,42 +15000,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14956
15000
|
)
|
|
14957
15001
|
|
|
14958
15002
|
|
|
14959
|
-
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14960
|
-
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14961
|
-
):
|
|
14962
|
-
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14963
|
-
Field(
|
|
14964
|
-
...,
|
|
14965
|
-
description='The unit test runs that are part of this set.',
|
|
14966
|
-
min_length=1,
|
|
14967
|
-
title='Unit Test Runs',
|
|
14968
|
-
)
|
|
14969
|
-
)
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14973
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14974
|
-
None, description='The name of the simulation unit test set.'
|
|
14975
|
-
)
|
|
14976
|
-
description: Optional[
|
|
14977
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14978
|
-
] = Field(
|
|
14979
|
-
{},
|
|
14980
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14981
|
-
title='Description',
|
|
14982
|
-
)
|
|
14983
|
-
unit_test_runs: Optional[
|
|
14984
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14985
|
-
] = Field(
|
|
14986
|
-
None,
|
|
14987
|
-
description='The unit test runs that are part of this set.',
|
|
14988
|
-
title='Unit Test Runs',
|
|
14989
|
-
)
|
|
14990
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14991
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14992
|
-
)
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
15003
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14996
15004
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14997
15005
|
...,
|
|
@@ -15094,23 +15102,28 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15094
15102
|
)
|
|
15095
15103
|
|
|
15096
15104
|
|
|
15097
|
-
class
|
|
15098
|
-
|
|
15099
|
-
...,
|
|
15105
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15106
|
+
org_id: str = Field(
|
|
15107
|
+
...,
|
|
15108
|
+
description='The ID of the organization that this user belongs to.',
|
|
15109
|
+
title='Org Id',
|
|
15100
15110
|
)
|
|
15101
|
-
|
|
15102
|
-
..., description='
|
|
15111
|
+
user_id: str = Field(
|
|
15112
|
+
..., description='The identifier of the user.', title='User Id'
|
|
15103
15113
|
)
|
|
15104
|
-
|
|
15105
|
-
...,
|
|
15106
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15107
|
-
title='Continuation Token',
|
|
15114
|
+
first_name: str = Field(
|
|
15115
|
+
..., description='The first name of the user.', title='First Name'
|
|
15108
15116
|
)
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15117
|
+
last_name: str = Field(
|
|
15118
|
+
..., description='The last name of the user.', title='Last Name'
|
|
15119
|
+
)
|
|
15120
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15121
|
+
user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
|
|
15122
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15123
|
+
)
|
|
15124
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
15125
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
15126
|
+
..., description='The preferences of the user.'
|
|
15114
15127
|
)
|
|
15115
15128
|
|
|
15116
15129
|
|
|
@@ -15205,7 +15218,7 @@ class ActionStateInput(BaseModel):
|
|
|
15205
15218
|
Field(..., title='Boundary Constraints')
|
|
15206
15219
|
)
|
|
15207
15220
|
exit_conditions: List[
|
|
15208
|
-
|
|
15221
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15209
15222
|
] = Field(..., title='Exit Conditions')
|
|
15210
15223
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15211
15224
|
..., title='Action Tool Call Specs'
|
|
@@ -15314,7 +15327,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15314
15327
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15315
15328
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15316
15329
|
exit_conditions: List[
|
|
15317
|
-
|
|
15330
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15318
15331
|
] = Field(..., title='Exit Conditions')
|
|
15319
15332
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15320
15333
|
..., title='Decision Guidelines'
|
|
@@ -15355,9 +15368,9 @@ class Metric(BaseModel):
|
|
|
15355
15368
|
additional_notes: Optional[str] = Field(
|
|
15356
15369
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15357
15370
|
)
|
|
15358
|
-
tags: List[
|
|
15359
|
-
|
|
15360
|
-
)
|
|
15371
|
+
tags: List[
|
|
15372
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15373
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15361
15374
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15362
15375
|
..., description='The user who created the metric.'
|
|
15363
15376
|
)
|
|
@@ -15425,9 +15438,9 @@ class MetricInstance(BaseModel):
|
|
|
15425
15438
|
additional_notes: Optional[str] = Field(
|
|
15426
15439
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15427
15440
|
)
|
|
15428
|
-
tags: List[
|
|
15429
|
-
|
|
15430
|
-
)
|
|
15441
|
+
tags: List[
|
|
15442
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15443
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15431
15444
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15432
15445
|
..., description='The user who created the metric.'
|
|
15433
15446
|
)
|
|
@@ -15627,9 +15640,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15627
15640
|
is_deleted: bool = Field(
|
|
15628
15641
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15629
15642
|
)
|
|
15630
|
-
tags: List[
|
|
15631
|
-
|
|
15632
|
-
)
|
|
15643
|
+
tags: List[
|
|
15644
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15645
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15633
15646
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15634
15647
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15635
15648
|
|
|
@@ -15672,9 +15685,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15672
15685
|
is_deleted: bool = Field(
|
|
15673
15686
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15674
15687
|
)
|
|
15675
|
-
tags: List[
|
|
15676
|
-
|
|
15677
|
-
)
|
|
15688
|
+
tags: List[
|
|
15689
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15690
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15678
15691
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15679
15692
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15680
15693
|
|
|
@@ -15972,7 +15985,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15972
15985
|
description: str = Field(
|
|
15973
15986
|
..., description='A description about the role.', min_length=1
|
|
15974
15987
|
)
|
|
15975
|
-
permission_grants: List[
|
|
15988
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
15976
15989
|
...,
|
|
15977
15990
|
description='A list of permission grants associated with this role.',
|
|
15978
15991
|
title='Permission Grants',
|
|
@@ -15998,29 +16011,6 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15998
16011
|
)
|
|
15999
16012
|
|
|
16000
16013
|
|
|
16001
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
16002
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
16003
|
-
None,
|
|
16004
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
16005
|
-
)
|
|
16006
|
-
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
16007
|
-
None,
|
|
16008
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
16009
|
-
title='Permission Grants',
|
|
16010
|
-
)
|
|
16011
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
16012
|
-
None,
|
|
16013
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16014
|
-
)
|
|
16015
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16016
|
-
Field(
|
|
16017
|
-
{},
|
|
16018
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
16019
|
-
title='Inherited From',
|
|
16020
|
-
)
|
|
16021
|
-
)
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
16014
|
class ServiceCreateServiceRequest(BaseModel):
|
|
16025
16015
|
service_hierarchical_state_machine_id: str = Field(
|
|
16026
16016
|
...,
|
|
@@ -16043,23 +16033,15 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
16043
16033
|
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.',
|
|
16044
16034
|
title='Is Active',
|
|
16045
16035
|
)
|
|
16046
|
-
release_version_set: Optional[
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
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.',
|
|
16050
|
-
)
|
|
16036
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
16037
|
+
None,
|
|
16038
|
+
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.',
|
|
16051
16039
|
)
|
|
16052
16040
|
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16053
16041
|
..., description='The tags of this service.', title='Tags'
|
|
16054
16042
|
)
|
|
16055
16043
|
|
|
16056
16044
|
|
|
16057
|
-
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
16058
|
-
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
16059
|
-
..., description='The version set to upsert.'
|
|
16060
|
-
)
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
16045
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16064
16046
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16065
16047
|
description: str = Field(
|
|
@@ -16193,7 +16175,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16193
16175
|
)
|
|
16194
16176
|
|
|
16195
16177
|
|
|
16196
|
-
class
|
|
16178
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16197
16179
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16198
16180
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16199
16181
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16215,16 +16197,28 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16215
16197
|
tool_id: str = Field(
|
|
16216
16198
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16217
16199
|
)
|
|
16218
|
-
tool_version:
|
|
16200
|
+
tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
16219
16201
|
..., description='The version of the tool that was invoked.'
|
|
16220
16202
|
)
|
|
16221
16203
|
|
|
16222
16204
|
|
|
16223
|
-
class
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16205
|
+
class UserGetUsersResponse(BaseModel):
|
|
16206
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16207
|
+
..., description='Users in this organization.', title='Users'
|
|
16208
|
+
)
|
|
16209
|
+
has_more: bool = Field(
|
|
16210
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16211
|
+
)
|
|
16212
|
+
continuation_token: Optional[int] = Field(
|
|
16213
|
+
...,
|
|
16214
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16215
|
+
title='Continuation Token',
|
|
16216
|
+
)
|
|
16217
|
+
|
|
16218
|
+
|
|
16219
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16220
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16221
|
+
..., description='Users in this organization.', title='Users'
|
|
16228
16222
|
)
|
|
16229
16223
|
|
|
16230
16224
|
|
|
@@ -16327,7 +16321,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16327
16321
|
|
|
16328
16322
|
|
|
16329
16323
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16330
|
-
tool_invocations: List[
|
|
16324
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16331
16325
|
Field(
|
|
16332
16326
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16333
16327
|
)
|
|
@@ -16342,3 +16336,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16342
16336
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16343
16337
|
title='Continuation Token',
|
|
16344
16338
|
)
|
|
16339
|
+
|
|
16340
|
+
|
|
16341
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16342
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16343
|
+
Field(
|
|
16344
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16345
|
+
)
|
|
16346
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=dj-hcGCgDw6XD9ePr7VjsMb8oyUaTD42dHOE6AwLBvg,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=HSocajV8OlOfLZLTIXZ6pSV0c-J-S7RMloWzbjBO_wo,457037
|
|
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.82.0.dist-info/METADATA,sha256=EKqYOIRT7tQ_cVz18yid3ZA1904bOEZi77OQJLS9UZk,8499
|
|
15
|
+
amigo_sdk-0.82.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.82.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.82.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.82.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|