amigo_sdk 0.77.0__py3-none-any.whl → 0.78.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 +203 -207
- {amigo_sdk-0.77.0.dist-info → amigo_sdk-0.78.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.77.0.dist-info → amigo_sdk-0.78.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.77.0.dist-info → amigo_sdk-0.78.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.77.0.dist-info → amigo_sdk-0.78.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.77.0.dist-info → amigo_sdk-0.78.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-05T22:50:39+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1616,6 +1616,11 @@ 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
|
+
|
|
1619
1624
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1620
1625
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1621
1626
|
)
|
|
@@ -1631,11 +1636,6 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
|
|
|
1631
1636
|
deny = 'Deny'
|
|
1632
1637
|
|
|
1633
1638
|
|
|
1634
|
-
class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
|
|
1635
|
-
key: str = Field(..., title='Key')
|
|
1636
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
1639
|
class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1640
1640
|
agent_version_number: Optional[int] = Field(
|
|
1641
1641
|
...,
|
|
@@ -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,6 +10743,13 @@ 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
|
+
|
|
10746
10753
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10747
10754
|
org_id: str = Field(
|
|
10748
10755
|
...,
|
|
@@ -10766,19 +10773,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10766
10773
|
)
|
|
10767
10774
|
|
|
10768
10775
|
|
|
10769
|
-
class
|
|
10776
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10770
10777
|
AnnotationStateInputNextState
|
|
10771
10778
|
):
|
|
10772
10779
|
pass
|
|
10773
10780
|
|
|
10774
10781
|
|
|
10775
|
-
class
|
|
10782
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10776
10783
|
BaseModel
|
|
10777
10784
|
):
|
|
10778
10785
|
description: str = Field(..., min_length=1)
|
|
10779
10786
|
next_state: Union[
|
|
10780
10787
|
StateOrRefName,
|
|
10781
|
-
|
|
10788
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10782
10789
|
] = Field(..., title='Next State')
|
|
10783
10790
|
|
|
10784
10791
|
|
|
@@ -10884,18 +10891,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10884
10891
|
)
|
|
10885
10892
|
|
|
10886
10893
|
|
|
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
|
+
|
|
10887
10905
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10888
10906
|
OrganizationCreateOrganizationRequestPreferences
|
|
10889
10907
|
)
|
|
10890
10908
|
|
|
10891
10909
|
|
|
10892
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10893
|
-
description: str = Field(..., min_length=1)
|
|
10894
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10895
|
-
..., title='Tags'
|
|
10896
|
-
)
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
10910
|
class RoleAssignRoleRequest(BaseModel):
|
|
10900
10911
|
user_id: str = Field(
|
|
10901
10912
|
...,
|
|
@@ -11142,6 +11153,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11142
11153
|
)
|
|
11143
11154
|
|
|
11144
11155
|
|
|
11156
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11157
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11158
|
+
run_count: int = Field(
|
|
11159
|
+
...,
|
|
11160
|
+
description='The number of times to run the unit test.',
|
|
11161
|
+
gt=0,
|
|
11162
|
+
title='Run Count',
|
|
11163
|
+
)
|
|
11164
|
+
|
|
11165
|
+
|
|
11145
11166
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11146
11167
|
simulation_unit_test_set_id: str = Field(
|
|
11147
11168
|
...,
|
|
@@ -11201,6 +11222,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11201
11222
|
)
|
|
11202
11223
|
|
|
11203
11224
|
|
|
11225
|
+
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11226
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11227
|
+
name: str = Field(
|
|
11228
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11229
|
+
)
|
|
11230
|
+
role: str = Field(
|
|
11231
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11232
|
+
)
|
|
11233
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11234
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11235
|
+
)
|
|
11236
|
+
is_deleted: bool = Field(
|
|
11237
|
+
...,
|
|
11238
|
+
description='Whether the simulation persona is deleted.',
|
|
11239
|
+
title='Is Deleted',
|
|
11240
|
+
)
|
|
11241
|
+
created_at: AwareDatetime = Field(
|
|
11242
|
+
...,
|
|
11243
|
+
description='The timestamp when the simulation persona was created.',
|
|
11244
|
+
title='Created At',
|
|
11245
|
+
)
|
|
11246
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11247
|
+
..., description='The user who created the simulation persona.'
|
|
11248
|
+
)
|
|
11249
|
+
updated_at: AwareDatetime = Field(
|
|
11250
|
+
...,
|
|
11251
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11252
|
+
title='Updated At',
|
|
11253
|
+
)
|
|
11254
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11255
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11256
|
+
)
|
|
11257
|
+
|
|
11258
|
+
|
|
11204
11259
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11205
11260
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11206
11261
|
...,
|
|
@@ -11351,37 +11406,11 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11351
11406
|
)
|
|
11352
11407
|
|
|
11353
11408
|
|
|
11354
|
-
class
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
role: str = Field(
|
|
11360
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11361
|
-
)
|
|
11362
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11363
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11364
|
-
)
|
|
11365
|
-
is_deleted: bool = Field(
|
|
11366
|
-
...,
|
|
11367
|
-
description='Whether the simulation persona is deleted.',
|
|
11368
|
-
title='Is Deleted',
|
|
11369
|
-
)
|
|
11370
|
-
created_at: AwareDatetime = Field(
|
|
11371
|
-
...,
|
|
11372
|
-
description='The timestamp when the simulation persona was created.',
|
|
11373
|
-
title='Created At',
|
|
11374
|
-
)
|
|
11375
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11376
|
-
..., description='The user who created the simulation persona.'
|
|
11377
|
-
)
|
|
11378
|
-
updated_at: AwareDatetime = Field(
|
|
11379
|
-
...,
|
|
11380
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11381
|
-
title='Updated At',
|
|
11382
|
-
)
|
|
11383
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11384
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11409
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
11410
|
+
simulation_personas: List[
|
|
11411
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11412
|
+
] = Field(
|
|
11413
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11385
11414
|
)
|
|
11386
11415
|
|
|
11387
11416
|
|
|
@@ -11452,13 +11481,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11452
11481
|
)
|
|
11453
11482
|
|
|
11454
11483
|
|
|
11455
|
-
class
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11484
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
11485
|
+
RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11486
|
+
):
|
|
11487
|
+
root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11488
|
+
Field(
|
|
11489
|
+
...,
|
|
11490
|
+
description='The unit test runs that are part of this set.',
|
|
11491
|
+
min_length=1,
|
|
11492
|
+
title='Unit Test Runs',
|
|
11493
|
+
)
|
|
11494
|
+
)
|
|
11495
|
+
|
|
11496
|
+
|
|
11497
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11498
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11499
|
+
None, description='The name of the simulation unit test set.'
|
|
11500
|
+
)
|
|
11501
|
+
description: Optional[
|
|
11502
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11503
|
+
] = Field(
|
|
11504
|
+
{},
|
|
11505
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11506
|
+
title='Description',
|
|
11507
|
+
)
|
|
11508
|
+
unit_test_runs: Optional[
|
|
11509
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11510
|
+
] = Field(
|
|
11511
|
+
None,
|
|
11512
|
+
description='The unit test runs that are part of this set.',
|
|
11513
|
+
title='Unit Test Runs',
|
|
11514
|
+
)
|
|
11515
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11516
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11462
11517
|
)
|
|
11463
11518
|
|
|
11464
11519
|
|
|
@@ -11652,7 +11707,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11652
11707
|
)
|
|
11653
11708
|
|
|
11654
11709
|
|
|
11655
|
-
class
|
|
11710
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11656
11711
|
num_conversations: int = Field(
|
|
11657
11712
|
...,
|
|
11658
11713
|
description='The number of conversations the user has created.',
|
|
@@ -11670,6 +11725,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11670
11725
|
)
|
|
11671
11726
|
|
|
11672
11727
|
|
|
11728
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11729
|
+
org_id: str = Field(
|
|
11730
|
+
...,
|
|
11731
|
+
description='The ID of the organization that this user belongs to.',
|
|
11732
|
+
title='Org Id',
|
|
11733
|
+
)
|
|
11734
|
+
user_id: str = Field(
|
|
11735
|
+
..., description='The identifier of the user.', title='User Id'
|
|
11736
|
+
)
|
|
11737
|
+
first_name: str = Field(
|
|
11738
|
+
..., description='The first name of the user.', title='First Name'
|
|
11739
|
+
)
|
|
11740
|
+
last_name: str = Field(
|
|
11741
|
+
..., description='The last name of the user.', title='Last Name'
|
|
11742
|
+
)
|
|
11743
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11744
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11745
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11746
|
+
)
|
|
11747
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11748
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11749
|
+
..., description='The preferences of the user.'
|
|
11750
|
+
)
|
|
11751
|
+
|
|
11752
|
+
|
|
11673
11753
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11674
11754
|
id_token: str = Field(
|
|
11675
11755
|
...,
|
|
@@ -13897,7 +13977,7 @@ class ServiceInstance(BaseModel):
|
|
|
13897
13977
|
agent_id: str = Field(
|
|
13898
13978
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13899
13979
|
)
|
|
13900
|
-
tags: List[
|
|
13980
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13901
13981
|
..., description='The tags of the service.', title='Tags'
|
|
13902
13982
|
)
|
|
13903
13983
|
|
|
@@ -13950,7 +14030,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13950
14030
|
description='Whether the unit test set has been deleted.',
|
|
13951
14031
|
title='Is Deleted',
|
|
13952
14032
|
)
|
|
13953
|
-
tags: List[
|
|
14033
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13954
14034
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13955
14035
|
)
|
|
13956
14036
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13989,7 +14069,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13989
14069
|
description='Whether the unit test set has been deleted.',
|
|
13990
14070
|
title='Is Deleted',
|
|
13991
14071
|
)
|
|
13992
|
-
tags: List[
|
|
14072
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13993
14073
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13994
14074
|
)
|
|
13995
14075
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14105,7 +14185,7 @@ class ToolInstance(BaseModel):
|
|
|
14105
14185
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14106
14186
|
title='Secret Envvars',
|
|
14107
14187
|
)
|
|
14108
|
-
tags: List[
|
|
14188
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14109
14189
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14110
14190
|
)
|
|
14111
14191
|
|
|
@@ -14120,7 +14200,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14120
14200
|
description='The ID of the tool that this version belongs to.',
|
|
14121
14201
|
title='Tool Id',
|
|
14122
14202
|
)
|
|
14123
|
-
version:
|
|
14203
|
+
version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
14124
14204
|
..., description='The version of the tool.'
|
|
14125
14205
|
)
|
|
14126
14206
|
required_envvars: List[str] = Field(
|
|
@@ -14526,7 +14606,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14526
14606
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14527
14607
|
min_length=1,
|
|
14528
14608
|
)
|
|
14529
|
-
user_dimensions: List[
|
|
14609
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14530
14610
|
...,
|
|
14531
14611
|
description='User dimensions for the organization.',
|
|
14532
14612
|
title='User Dimensions',
|
|
@@ -14670,17 +14750,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14670
14750
|
)
|
|
14671
14751
|
|
|
14672
14752
|
|
|
14673
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14674
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14675
|
-
):
|
|
14676
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14677
|
-
...,
|
|
14678
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14679
|
-
min_length=1,
|
|
14680
|
-
title='User Dimensions',
|
|
14681
|
-
)
|
|
14682
|
-
|
|
14683
|
-
|
|
14684
14753
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14685
14754
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14686
14755
|
None,
|
|
@@ -14738,7 +14807,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14738
14807
|
)
|
|
14739
14808
|
|
|
14740
14809
|
|
|
14741
|
-
class
|
|
14810
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14742
14811
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14743
14812
|
...,
|
|
14744
14813
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14755,29 +14824,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14755
14824
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14756
14825
|
|
|
14757
14826
|
|
|
14758
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
14759
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14760
|
-
None,
|
|
14761
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14762
|
-
)
|
|
14763
|
-
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14764
|
-
None,
|
|
14765
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14766
|
-
title='Permission Grants',
|
|
14767
|
-
)
|
|
14768
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
14769
|
-
None,
|
|
14770
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14771
|
-
)
|
|
14772
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14773
|
-
Field(
|
|
14774
|
-
{},
|
|
14775
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14776
|
-
title='Inherited From',
|
|
14777
|
-
)
|
|
14778
|
-
)
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
14827
|
class ServiceCreateServiceRequest(BaseModel):
|
|
14782
14828
|
service_hierarchical_state_machine_id: str = Field(
|
|
14783
14829
|
...,
|
|
@@ -14886,7 +14932,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14886
14932
|
..., description='The description of the simulation unit test set.'
|
|
14887
14933
|
)
|
|
14888
14934
|
unit_test_runs: List[
|
|
14889
|
-
|
|
14935
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14890
14936
|
] = Field(
|
|
14891
14937
|
...,
|
|
14892
14938
|
description='The unit test runs that are part of this set.',
|
|
@@ -14900,7 +14946,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14900
14946
|
|
|
14901
14947
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14902
14948
|
simulation_personas: List[
|
|
14903
|
-
|
|
14949
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
14904
14950
|
] = Field(
|
|
14905
14951
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14906
14952
|
)
|
|
@@ -14972,14 +15018,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14972
15018
|
)
|
|
14973
15019
|
|
|
14974
15020
|
|
|
14975
|
-
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14976
|
-
simulation_personas: List[
|
|
14977
|
-
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14978
|
-
] = Field(
|
|
14979
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14980
|
-
)
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
15021
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14984
15022
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14985
15023
|
...,
|
|
@@ -14993,42 +15031,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14993
15031
|
)
|
|
14994
15032
|
|
|
14995
15033
|
|
|
14996
|
-
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14997
|
-
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14998
|
-
):
|
|
14999
|
-
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
15000
|
-
Field(
|
|
15001
|
-
...,
|
|
15002
|
-
description='The unit test runs that are part of this set.',
|
|
15003
|
-
min_length=1,
|
|
15004
|
-
title='Unit Test Runs',
|
|
15005
|
-
)
|
|
15006
|
-
)
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
15010
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15011
|
-
None, description='The name of the simulation unit test set.'
|
|
15012
|
-
)
|
|
15013
|
-
description: Optional[
|
|
15014
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
15015
|
-
] = Field(
|
|
15016
|
-
{},
|
|
15017
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
15018
|
-
title='Description',
|
|
15019
|
-
)
|
|
15020
|
-
unit_test_runs: Optional[
|
|
15021
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
15022
|
-
] = Field(
|
|
15023
|
-
None,
|
|
15024
|
-
description='The unit test runs that are part of this set.',
|
|
15025
|
-
title='Unit Test Runs',
|
|
15026
|
-
)
|
|
15027
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
15028
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
15029
|
-
)
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
15034
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15033
15035
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15034
15036
|
...,
|
|
@@ -15131,33 +15133,22 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15131
15133
|
)
|
|
15132
15134
|
|
|
15133
15135
|
|
|
15134
|
-
class
|
|
15135
|
-
|
|
15136
|
-
...,
|
|
15137
|
-
description='The ID of the organization that this user belongs to.',
|
|
15138
|
-
title='Org Id',
|
|
15139
|
-
)
|
|
15140
|
-
user_id: str = Field(
|
|
15141
|
-
..., description='The identifier of the user.', title='User Id'
|
|
15142
|
-
)
|
|
15143
|
-
first_name: str = Field(
|
|
15144
|
-
..., description='The first name of the user.', title='First Name'
|
|
15145
|
-
)
|
|
15146
|
-
last_name: str = Field(
|
|
15147
|
-
..., description='The last name of the user.', title='Last Name'
|
|
15136
|
+
class UserGetUsersResponse(BaseModel):
|
|
15137
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15138
|
+
..., description='Users in this organization.', title='Users'
|
|
15148
15139
|
)
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15140
|
+
has_more: bool = Field(
|
|
15141
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15152
15142
|
)
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15143
|
+
continuation_token: Optional[int] = Field(
|
|
15144
|
+
...,
|
|
15145
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15146
|
+
title='Continuation Token',
|
|
15156
15147
|
)
|
|
15157
15148
|
|
|
15158
15149
|
|
|
15159
15150
|
class UserSearchUsersResponse(BaseModel):
|
|
15160
|
-
users: List[
|
|
15151
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15161
15152
|
..., description='Users in this organization.', title='Users'
|
|
15162
15153
|
)
|
|
15163
15154
|
|
|
@@ -15190,9 +15181,7 @@ class CreateConversationParametersQuery(BaseModel):
|
|
|
15190
15181
|
title='Current Agent Action Type',
|
|
15191
15182
|
)
|
|
15192
15183
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15193
|
-
None,
|
|
15194
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15195
|
-
title='Audio Format',
|
|
15184
|
+
None, title='Audio Format'
|
|
15196
15185
|
)
|
|
15197
15186
|
response_audio_format: Optional[
|
|
15198
15187
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -15227,9 +15216,7 @@ class InteractWithConversationParametersQuery(BaseModel):
|
|
|
15227
15216
|
title='Request Audio Config',
|
|
15228
15217
|
)
|
|
15229
15218
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15230
|
-
None,
|
|
15231
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15232
|
-
title='Audio Format',
|
|
15219
|
+
None, title='Audio Format'
|
|
15233
15220
|
)
|
|
15234
15221
|
response_audio_format: Optional[
|
|
15235
15222
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -15257,7 +15244,7 @@ class ActionStateInput(BaseModel):
|
|
|
15257
15244
|
Field(..., title='Boundary Constraints')
|
|
15258
15245
|
)
|
|
15259
15246
|
exit_conditions: List[
|
|
15260
|
-
|
|
15247
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15261
15248
|
] = Field(..., title='Exit Conditions')
|
|
15262
15249
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15263
15250
|
..., title='Action Tool Call Specs'
|
|
@@ -15366,7 +15353,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15366
15353
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15367
15354
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15368
15355
|
exit_conditions: List[
|
|
15369
|
-
|
|
15356
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15370
15357
|
] = Field(..., title='Exit Conditions')
|
|
15371
15358
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15372
15359
|
..., title='Decision Guidelines'
|
|
@@ -15407,7 +15394,7 @@ class Metric(BaseModel):
|
|
|
15407
15394
|
additional_notes: Optional[str] = Field(
|
|
15408
15395
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15409
15396
|
)
|
|
15410
|
-
tags: List[
|
|
15397
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15411
15398
|
..., description='The tags of the metric.', title='Tags'
|
|
15412
15399
|
)
|
|
15413
15400
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15477,7 +15464,7 @@ class MetricInstance(BaseModel):
|
|
|
15477
15464
|
additional_notes: Optional[str] = Field(
|
|
15478
15465
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15479
15466
|
)
|
|
15480
|
-
tags: List[
|
|
15467
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15481
15468
|
..., description='The tags of the metric.', title='Tags'
|
|
15482
15469
|
)
|
|
15483
15470
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15679,7 +15666,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15679
15666
|
is_deleted: bool = Field(
|
|
15680
15667
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15681
15668
|
)
|
|
15682
|
-
tags: List[
|
|
15669
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15683
15670
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15684
15671
|
)
|
|
15685
15672
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15724,7 +15711,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15724
15711
|
is_deleted: bool = Field(
|
|
15725
15712
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15726
15713
|
)
|
|
15727
|
-
tags: List[
|
|
15714
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15728
15715
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15729
15716
|
)
|
|
15730
15717
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -16024,7 +16011,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
16024
16011
|
description: str = Field(
|
|
16025
16012
|
..., description='A description about the role.', min_length=1
|
|
16026
16013
|
)
|
|
16027
|
-
permission_grants: List[
|
|
16014
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
16028
16015
|
...,
|
|
16029
16016
|
description='A list of permission grants associated with this role.',
|
|
16030
16017
|
title='Permission Grants',
|
|
@@ -16050,6 +16037,29 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16050
16037
|
)
|
|
16051
16038
|
|
|
16052
16039
|
|
|
16040
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
16041
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
16042
|
+
None,
|
|
16043
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
16044
|
+
)
|
|
16045
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
16046
|
+
None,
|
|
16047
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
16048
|
+
title='Permission Grants',
|
|
16049
|
+
)
|
|
16050
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
16051
|
+
None,
|
|
16052
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16053
|
+
)
|
|
16054
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16055
|
+
Field(
|
|
16056
|
+
{},
|
|
16057
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
16058
|
+
title='Inherited From',
|
|
16059
|
+
)
|
|
16060
|
+
)
|
|
16061
|
+
|
|
16062
|
+
|
|
16053
16063
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16054
16064
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16055
16065
|
description: str = Field(
|
|
@@ -16183,7 +16193,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16183
16193
|
)
|
|
16184
16194
|
|
|
16185
16195
|
|
|
16186
|
-
class
|
|
16196
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16187
16197
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16188
16198
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16189
16199
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16205,33 +16215,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16205
16215
|
tool_id: str = Field(
|
|
16206
16216
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16207
16217
|
)
|
|
16208
|
-
tool_version:
|
|
16218
|
+
tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
16209
16219
|
..., description='The version of the tool that was invoked.'
|
|
16210
16220
|
)
|
|
16211
16221
|
|
|
16212
16222
|
|
|
16213
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16214
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16215
|
-
Field(
|
|
16216
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16217
|
-
)
|
|
16218
|
-
)
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
class UserGetUsersResponse(BaseModel):
|
|
16222
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16223
|
-
..., description='Users in this organization.', title='Users'
|
|
16224
|
-
)
|
|
16225
|
-
has_more: bool = Field(
|
|
16226
|
-
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16227
|
-
)
|
|
16228
|
-
continuation_token: Optional[int] = Field(
|
|
16229
|
-
...,
|
|
16230
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16231
|
-
title='Continuation Token',
|
|
16232
|
-
)
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
16223
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16236
16224
|
org_id: str = Field(..., title='Org Id')
|
|
16237
16225
|
id: str = Field(..., title='Id')
|
|
@@ -16331,7 +16319,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16331
16319
|
|
|
16332
16320
|
|
|
16333
16321
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16334
|
-
tool_invocations: List[
|
|
16322
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16335
16323
|
Field(
|
|
16336
16324
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16337
16325
|
)
|
|
@@ -16346,3 +16334,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16346
16334
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16347
16335
|
title='Continuation Token',
|
|
16348
16336
|
)
|
|
16337
|
+
|
|
16338
|
+
|
|
16339
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16340
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16341
|
+
Field(
|
|
16342
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16343
|
+
)
|
|
16344
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=QU5xGHb6mxsAiFwRzJslvPOzJbIaLrzyERz9OjZcbA0,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=OTtKLRDZ90LyqlHqlisfzi0efr6PPp10ocXEV58Uzu4,456783
|
|
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.78.0.dist-info/METADATA,sha256=wn8bMk8wa6tVQ7v3KIwv3nkZytZpGipaak5zr6Jj0ZI,8499
|
|
15
|
+
amigo_sdk-0.78.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.78.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.78.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.78.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|